Skip to content

Commit 27dddfc

Browse files
committed
Add flag to request codeview debug info on Windows
Needed after fixing PR22032. llvm-svn: 244162
1 parent 3cb1572 commit 27dddfc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler-rt/test/lit.common.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ if compiler_id == "Clang":
3030
# We assume that sanitizers should provide good enough error
3131
# reports and stack traces even with minimal debug info.
3232
config.debug_info_flags = ["-gline-tables-only"]
33+
if platform.system() == 'Windows':
34+
config.debug_info_flags.append("-gcodeview")
3335
elif compiler_id == 'GNU':
3436
config.cxx_mode_flags = ["-x c++"]
3537
config.debug_info_flags = ["-g"]

0 commit comments

Comments
 (0)