Add flag to request codeview debug info on Windows
authorReid Kleckner <rnk@google.com>
Wed, 5 Aug 2015 22:48:26 +0000 (22:48 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 5 Aug 2015 22:48:26 +0000 (22:48 +0000)
Needed after fixing PR22032.

llvm-svn: 244162

compiler-rt/test/lit.common.cfg

index c1db4e1..a204348 100644 (file)
@@ -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"]