diff options
Diffstat (limited to 'compiler-rt/test/lit.common.cfg')
| -rw-r--r-- | compiler-rt/test/lit.common.cfg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/test/lit.common.cfg b/compiler-rt/test/lit.common.cfg index 1613c3b8e03..0ee2b84481d 100644 --- a/compiler-rt/test/lit.common.cfg +++ b/compiler-rt/test/lit.common.cfg @@ -25,8 +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"] elif compiler_id == 'GNU': config.cxx_mode_flags = ["-x c++"] + config.debug_info_flags = ["-g"] else: lit_config.fatal("Unsupported compiler id: %r" % compiler_id) # Add compiler ID to the list of available features. |

