llvm/test/lit.cfg: have_ld_plugin_support(): Use decode() for stdout.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 5 Jan 2015 14:18:04 +0000 (14:18 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 5 Jan 2015 14:18:04 +0000 (14:18 +0000)
llvm-svn: 225171

llvm/test/lit.cfg

index d628dfb..cd615b3 100644 (file)
@@ -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: