From 2ef41bdbf6841c2887e7af4b7c3b26235d3e7efa Mon Sep 17 00:00:00 2001 From: Tatsuyuki Ishi Date: Fri, 30 Jun 2023 17:18:29 +0900 Subject: [PATCH] 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 --- meson.build | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index f465df9b..f4d15b60 100644 --- a/meson.build +++ b/meson.build @@ -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