about summary refs log tree commit diff
diff options
context:
space:
mode:
authornils <48135649+Nilstrieb@users.noreply.github.com>2023-01-11 17:30:56 +0100
committerGitHub <noreply@github.com>2023-01-11 17:30:56 +0100
commit082ff0f08d849854b070f288d576cbf7815ccacf (patch)
tree49b6c9ae5f87141f64fe13042a6b001d931555d3
parent9a820f7397d26efd75184abddf25f4fb2e5ebf37 (diff)
parentaca2f88d1e0905329971ee7dfd1d596490d0ca0b (diff)
downloadrust-082ff0f08d849854b070f288d576cbf7815ccacf.tar.gz
rust-082ff0f08d849854b070f288d576cbf7815ccacf.zip
Rollup merge of #106709 - khuey:disable_split_dwarf_inlining_by_default, r=davidtwco
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 4c236067688..b062b43873b 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],