Add flag to request codeview debug info on Windows
Needed after fixing PR22032. llvm-svn: 244162
This commit is contained in:
parent
3cb15729af
commit
27dddfc118
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue