forked from OSchip/llvm-project
llvm/test/lit.cfg: have_ld_plugin_support(): Use decode() for stdout.
llvm-svn: 225171
This commit is contained in:
parent
b0f54e7909
commit
f199f4c593
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue