[compiler-rt] r326141 - Re-land "Emit proper CodeView when -gcodeview is passed without the cl driver."
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 26 14:55:33 PST 2018
Author: rnk
Date: Mon Feb 26 14:55:33 2018
New Revision: 326141
URL: http://llvm.org/viewvc/llvm-project?rev=326141&view=rev
Log:
Re-land "Emit proper CodeView when -gcodeview is passed without the cl driver."
Reverts r326116 and re-lands r326113 with a fix to ASan so that it
enables column info in its test suite.
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=326141&r1=326140&r2=326141&view=diff
==============================================================================
--- compiler-rt/trunk/test/lit.common.cfg (original)
+++ compiler-rt/trunk/test/lit.common.cfg Mon Feb 26 14:55:33 2018
@@ -37,7 +37,11 @@ if compiler_id == "Clang":
# reports and stack traces even with minimal debug info.
config.debug_info_flags = ["-gline-tables-only"]
if platform.system() == 'Windows':
+ # On Windows, use CodeView with column info instead of DWARF. Both VS and
+ # windbg do not behave well when column info is enabled, but users have
+ # requested it because it makes ASan reports more precise.
config.debug_info_flags.append("-gcodeview")
+ config.debug_info_flags.append("-gcolumn-info")
elif compiler_id == 'GNU':
config.cxx_mode_flags = ["-x c++"]
config.debug_info_flags = ["-g"]
More information about the llvm-commits
mailing list