Fixed a minor merge error with this patch.

llvm-svn: 354908
This commit is contained in:
Mitch Phillips 2019-02-26 18:41:55 +00:00
parent 83899d1f39
commit c0ffe705c5
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ try:
[os.path.join(config.llvm_tools_dir, 'llvm-config'), '--assertion-mode'],
stdout = subprocess.PIPE,
env=config.environment)
except OSError:
except OSError as e:
print("Could not launch llvm-config in " + config.llvm_tools_dir)
print(" Failed with error #{0}: {1}".format(e.errno, e.strerror))
exit(42)