[compiler-rt] r218545 - Effectively revert r217284 on Darwin due to issues with -gmlt there

Alexey Samsonov vonosmas at gmail.com
Fri Sep 26 14:58:33 PDT 2014


Author: samsonov
Date: Fri Sep 26 16:58:33 2014
New Revision: 218545

URL: http://llvm.org/viewvc/llvm-project?rev=218545&view=rev
Log:
Effectively revert r217284 on Darwin due to issues with -gmlt there

Modified:
    compiler-rt/trunk/test/lit.common.cfg

Modified: compiler-rt/trunk/test/lit.common.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/lit.common.cfg?rev=218545&r1=218544&r2=218545&view=diff
==============================================================================
--- compiler-rt/trunk/test/lit.common.cfg (original)
+++ compiler-rt/trunk/test/lit.common.cfg Fri Sep 26 16:58:33 2014
@@ -25,9 +25,12 @@ if compiler_id == "Clang":
     config.cxx_mode_flags = ["--driver-mode=g++"]
   else:
     config.cxx_mode_flags = []
-  # We assume that sanitizers should provide good enough error
-  # reports and stack traces even with minimal debug info.
-  config.debug_info_flags = ["-gline-tables-only"]
+  if config.host_os not in ['Darwin']:
+    # We assume that sanitizers should provide good enough error
+    # reports and stack traces even with minimal debug info.
+    config.debug_info_flags = ["-gline-tables-only"]
+  else:
+    config.debug_info_flags = ["-g"]
 elif compiler_id == 'GNU':
   config.cxx_mode_flags = ["-x c++"]
   config.debug_info_flags = ["-g"]





More information about the llvm-commits mailing list