Fixed a minor merge error with this patch.
authorMitch Phillips <mitchphillips@outlook.com>
Tue, 26 Feb 2019 18:41:55 +0000 (18:41 +0000)
committerMitch Phillips <mitchphillips@outlook.com>
Tue, 26 Feb 2019 18:41:55 +0000 (18:41 +0000)
llvm-svn: 354908

compiler-rt/test/lit.common.cfg

index 26e5f43..bf3897e 100644 (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)