about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKyle Huey <khuey@kylehuey.com>2023-01-10 22:34:09 -0800
committerKyle Huey <khuey@kylehuey.com>2023-01-10 22:35:10 -0800
commitaca2f88d1e0905329971ee7dfd1d596490d0ca0b (patch)
treed8ab33b14bfa7ecede82b920e9ab9d5757c70c0a
parent0442fbabe24ec43636a80ad1f40a0ad92a2e38df (diff)
downloadrust-aca2f88d1e0905329971ee7dfd1d596490d0ca0b.tar.gz
rust-aca2f88d1e0905329971ee7dfd1d596490d0ca0b.zip
Disable "split dwarf inlining" by default.
This matches clang's behavior and makes split-debuginfo behave as expected (i.e. actually split the debug info).

Fixes #106592
-rw-r--r--compiler/rustc_session/src/options.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs
index 043a60a1c53..c9da7b04622 100644
--- a/compiler/rustc_session/src/options.rs
+++ b/compiler/rustc_session/src/options.rs
@@ -1570,7 +1570,7 @@ options! {
     /// o/w tests have closure@path
     span_free_formats: bool = (false, parse_bool, [UNTRACKED],
         "exclude spans when debug-printing compiler state (default: no)"),
-    split_dwarf_inlining: bool = (true, parse_bool, [TRACKED],
+    split_dwarf_inlining: bool = (false, parse_bool, [TRACKED],
         "provide minimal debug info in the object/executable to facilitate online \
          symbolication/stack traces in the absence of .dwo/.dwp files when using Split DWARF"),
     split_dwarf_kind: SplitDwarfKind = (SplitDwarfKind::Split, parse_split_dwarf_kind, [TRACKED],