1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[gn build] [win] produce symbolized stack frames in release builds too

This commit is contained in:
Nico Weber 2020-01-22 12:36:38 -05:00
parent 7c3fe23f5d
commit aa258c1b77

View File

@ -55,8 +55,13 @@ config("compiler_defaults") {
"/Zi",
"/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) {
cflags += [
"/O2",