forked from OSchip/llvm-project
[gn build] [win] produce symbolized stack frames in release builds too
This commit is contained in:
parent
300997c41a
commit
fd98eccf98
|
@ -55,8 +55,13 @@ config("compiler_defaults") {
|
||||||
"/Zi",
|
"/Zi",
|
||||||
"/FS",
|
"/FS",
|
||||||
]
|
]
|
||||||
ldflags += [ "/DEBUG" ]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Always ask the linker for a pdb. If the .obj files don't contain debug
|
||||||
|
# info, this will produce enough for function names in backtraces, and
|
||||||
|
# it doesn't slow down linking much.
|
||||||
|
ldflags += [ "/DEBUG" ]
|
||||||
|
|
||||||
if (is_optimized) {
|
if (is_optimized) {
|
||||||
cflags += [
|
cflags += [
|
||||||
"/O2",
|
"/O2",
|
||||||
|
|
Loading…
Reference in New Issue