1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 19:54:19 +01:00

build: Switch symbols to DWARF 4

Since [1], Wine's supports and uses DWARF 4 as default. Make use of it, which
should fix inlined stacks and some other small details.

[1]: https://www.winehq.org/pipermail/wine-devel/2021-November/201333.html
This commit is contained in:
Tatsuyuki Ishi 2023-06-30 17:18:29 +09:00 committed by Philip Rebohle
parent 0f4458e173
commit 2ef41bdbf6

View File

@ -57,11 +57,10 @@ if platform == 'windows'
'-Wl,--file-alignment=4096',
]
# Wine's built-in back traces only work with dwarf2 symbols
# Wine's built-in back traces only work with dwarf4 symbols
if get_option('debug')
compiler_args += [
'-gstrict-dwarf',
'-gdwarf-2',
'-gdwarf-4',
]
endif