Set DebuginfoKind::Dwarf
for *-windows-gnu
and *-windows-gnullvm
· rust-lang/rust@0b24fc9 (original) (raw)
File tree
2 files changed
lines changed
- compiler/rustc_target/src/spec/base
2 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -97,9 +97,9 @@ pub(crate) fn opts() -> TargetOptions { | ||
97 | 97 | emit_debug_gdb_scripts: false, |
98 | 98 | requires_uwtable: true, |
99 | 99 | eh_frame_header: false, |
100 | +debuginfo_kind: DebuginfoKind::Dwarf, | |
100 | 101 | // FIXME(davidtwco): Support Split DWARF on Windows GNU - may require LLVM changes to |
101 | 102 | // output DWO, despite using DWARF, doesn't use ELF.. |
102 | -debuginfo_kind: DebuginfoKind::Pdb, | |
103 | 103 | supported_split_debuginfo: Cow::Borrowed(&[SplitDebuginfo::Off]), |
104 | 104 | ..Default::default() |
105 | 105 | } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -44,9 +44,9 @@ pub(crate) fn opts() -> TargetOptions { | ||
44 | 44 | has_thread_local: true, |
45 | 45 | crt_static_allows_dylibs: true, |
46 | 46 | crt_static_respected: true, |
47 | +debuginfo_kind: DebuginfoKind::Dwarf, | |
47 | 48 | // FIXME(davidtwco): Support Split DWARF on Windows GNU - may require LLVM changes to |
48 | 49 | // output DWO, despite using DWARF, doesn't use ELF.. |
49 | -debuginfo_kind: DebuginfoKind::Pdb, | |
50 | 50 | supported_split_debuginfo: Cow::Borrowed(&[SplitDebuginfo::Off]), |
51 | 51 | ..Default::default() |
52 | 52 | } |