We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-Zdwarf-version
1 parent b481dd8 commit da179f9Copy full SHA for da179f9
scripts/Makefile.debug
@@ -17,6 +17,12 @@ endif
17
DEBUG_CFLAGS += $(debug-flags-y)
18
KBUILD_AFLAGS += $(debug-flags-y)
19
20
+ifdef CONFIG_DEBUG_INFO_DWARF4
21
+DEBUG_RUSTFLAGS += -Zdwarf-version=4
22
+else ifdef CONFIG_DEBUG_INFO_DWARF5
23
+DEBUG_RUSTFLAGS += -Zdwarf-version=5
24
+endif
25
+
26
ifdef CONFIG_DEBUG_INFO_REDUCED
27
DEBUG_CFLAGS += -fno-var-tracking
28
DEBUG_RUSTFLAGS += -Cdebuginfo=1
0 commit comments