Fix clang not producing debug info in cpp mode (#9976)

* Fix clang on windows to produce debug info

* Fix clang not producing debug info in cpp mode
This commit is contained in:
Neelesh Chandola
2018-12-16 13:38:31 +05:30
committed by Andreas Rumpf
parent b53327c92a
commit 303ef57b15

View File

@@ -220,10 +220,20 @@ llvm_gcc.options.size = "-Os"
# Configuration for the LLVM CLang compiler:
clang.options.debug = "-g"
clang.cpp.options.debug = "-g"
clang.options.always = "-w"
clang.options.speed = "-O3"
clang.options.size = "-Os"
@if windows:
clang.options.debug = "-g -gcodeview"
clang.cpp.options.debug = "-g -gcodeview"
@if not release:
clang.options.linker = "-g"
clang.cpp.options.linker = "-g"
@end
@end
# Configuration for the Visual C/C++ compiler:
# VCCEXE is a tool that invokes the Visual Studio Developer Command Prompt
# before calling the compiler.