llvm/test/lit.cfg: have_ld_plugin_support(): Use decode() for stdout.
[oota-llvm.git] / test / lit.cfg
index d628dfb76f21e4e70f9bc00860e20506ebd21b57..cd615b3c57368f86d97cc7f12cca86624c00f214 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: