diff options
| -rw-r--r-- | compiler-rt/test/lit.common.cfg | 9 |
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"] |

