summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-09-26 21:58:33 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-09-26 21:58:33 +0000
commit987370b6bd96e19cae755b509e0dd3c695918faa (patch)
tree6f4699934bc2b59a2d799e98ee196ae6db2866da
parente06ffe2c2d91da6f369af154546dcc5079b55f84 (diff)
downloadbcm5719-llvm-987370b6bd96e19cae755b509e0dd3c695918faa.tar.gz
bcm5719-llvm-987370b6bd96e19cae755b509e0dd3c695918faa.zip
Effectively revert r217284 on Darwin due to issues with -gmlt there
llvm-svn: 218545
-rw-r--r--compiler-rt/test/lit.common.cfg9
1 files changed, 6 insertions, 3 deletions
diff --git a/compiler-rt/test/lit.common.cfg b/compiler-rt/test/lit.common.cfg
index 0ee2b84481d..dd49b63f4d5 100644
--- a/compiler-rt/test/lit.common.cfg
+++ b/compiler-rt/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"]
OpenPOWER on IntegriCloud