diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2014-09-26 21:58:33 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-09-26 21:58:33 +0000 |
commit | 9ca92c03e1732a8317b0ec00f5e34fb9eb3186fe (patch) | |
tree | 4acba70891da5f7bdbe6b0ca783fdd8f06a7ab9c /test/lit.common.cfg | |
parent | 11731f3513c7d5bce36eea837ae4259b922ec6af (diff) |
Effectively revert r217284 on Darwin due to issues with -gmlt there
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@218545 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.common.cfg')
-rw-r--r-- | test/lit.common.cfg | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/lit.common.cfg b/test/lit.common.cfg index 0ee2b8448..dd49b63f4 100644 --- a/test/lit.common.cfg +++ b/test/lit.common.cfg @@ -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"] |