summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2015-08-05 22:48:26 +0000
committerReid Kleckner <rnk@google.com>2015-08-05 22:48:26 +0000
commit27dddfc1187124f1d9b25a65b8df32e3ad3769c6 (patch)
tree8aa895a500d4da03cbb987f89b81a7a6007867f7
parent3cb15729aff241e28c9854bd09609fb74e7bac37 (diff)
downloadbcm5719-llvm-27dddfc1187124f1d9b25a65b8df32e3ad3769c6.tar.gz
bcm5719-llvm-27dddfc1187124f1d9b25a65b8df32e3ad3769c6.zip
Add flag to request codeview debug info on Windows
Needed after fixing PR22032. llvm-svn: 244162
-rw-r--r--compiler-rt/test/lit.common.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/test/lit.common.cfg b/compiler-rt/test/lit.common.cfg
index c1db4e10137..a204348e495 100644
--- a/compiler-rt/test/lit.common.cfg
+++ b/compiler-rt/test/lit.common.cfg
@@ -30,6 +30,8 @@ if compiler_id == "Clang":
# 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 platform.system() == 'Windows':
+ config.debug_info_flags.append("-gcodeview")
elif compiler_id == 'GNU':
config.cxx_mode_flags = ["-x c++"]
config.debug_info_flags = ["-g"]
OpenPOWER on IntegriCloud