forked from OSchip/llvm-project
[Python 3] Decode check_ouput result as UTF-8
llvm-svn: 364325
This commit is contained in:
parent
96a192ea53
commit
635eb80662
|
@ -89,7 +89,7 @@ lit.util.usePlatformSdkOnDarwin(config, lit_config)
|
|||
|
||||
if platform.system() == 'Darwin':
|
||||
import subprocess
|
||||
xcode_lldb_vers = subprocess.check_output(['xcrun', 'lldb', '--version'])
|
||||
xcode_lldb_vers = subprocess.check_output(['xcrun', 'lldb', '--version']).decode("utf-8")
|
||||
match = re.search('lldb-(\d+)', xcode_lldb_vers)
|
||||
if match:
|
||||
apple_lldb_vers = int(match.group(1))
|
||||
|
|
Loading…
Reference in New Issue