[compiler-rt] r244162 - Add flag to request codeview debug info on Windows

Reid Kleckner rnk at google.com
Wed Aug 5 15:48:26 PDT 2015


Author: rnk
Date: Wed Aug  5 17:48:26 2015
New Revision: 244162

URL: http://llvm.org/viewvc/llvm-project?rev=244162&view=rev
Log:
Add flag to request codeview debug info on Windows

Needed after fixing PR22032.

Modified:
    compiler-rt/trunk/test/lit.common.cfg

Modified: compiler-rt/trunk/test/lit.common.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/lit.common.cfg?rev=244162&r1=244161&r2=244162&view=diff
==============================================================================
--- compiler-rt/trunk/test/lit.common.cfg (original)
+++ compiler-rt/trunk/test/lit.common.cfg Wed Aug  5 17:48:26 2015
@@ -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"]




More information about the llvm-commits mailing list