mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[gn build] [win] produce symbolized stack frames in release builds too
This commit is contained in:
parent
7c3fe23f5d
commit
aa258c1b77
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user