[llvm] r225171 - llvm/test/lit.cfg: have_ld_plugin_support(): Use decode() for stdout.

NAKAMURA Takumi geek4civic at gmail.com
Mon Jan 5 06:18:05 PST 2015


Author: chapuni
Date: Mon Jan  5 08:18:04 2015
New Revision: 225171

URL: http://llvm.org/viewvc/llvm-project?rev=225171&view=rev
Log:
llvm/test/lit.cfg: have_ld_plugin_support(): Use decode() for stdout.

Modified:
    llvm/trunk/test/lit.cfg

Modified: llvm/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.cfg?rev=225171&r1=225170&r2=225171&view=diff
==============================================================================
--- llvm/trunk/test/lit.cfg (original)
+++ llvm/trunk/test/lit.cfg Mon Jan  5 08:18:04 2015
@@ -330,7 +330,7 @@ def have_ld_plugin_support():
         return False
 
     ld_cmd = subprocess.Popen(['ld', '--help'], stdout = subprocess.PIPE)
-    ld_out = ld_cmd.stdout.read()
+    ld_out = ld_cmd.stdout.read().decode()
     ld_cmd.wait()
 
     if not '-plugin' in ld_out:





More information about the llvm-commits mailing list