]> git.lizzy.rs Git - rust.git/commit
Add a target option for selecting a DWARF version
authorAustin Shafer <ashafer@badland.io>
Fri, 9 Oct 2020 19:08:18 +0000 (15:08 -0400)
committerAustin Shafer <ashafer@badland.io>
Tue, 13 Oct 2020 19:56:30 +0000 (15:56 -0400)
commit4511f8b9f3fc31af6bb96794c3940db911193003
tree782017227646cbd37c6df4490c2475685fb00f79
parent08764ad1638d49ee8303a8e5b1a9e439cbbc87f6
Add a target option for selecting a DWARF version

Certain platforms need to limit the DWARF version emitted (oxs, *bsd). This
change adds a dwarf_version entry to the options that allows a platform to
specify the dwarf version to use. By default this option is none and the default
DWARF version is selected.

Also adds an option for printing Option<u32> json keys
compiler/rustc_codegen_llvm/src/debuginfo/mod.rs
compiler/rustc_target/src/spec/android_base.rs
compiler/rustc_target/src/spec/apple_base.rs
compiler/rustc_target/src/spec/dragonfly_base.rs
compiler/rustc_target/src/spec/freebsd_base.rs
compiler/rustc_target/src/spec/mod.rs
compiler/rustc_target/src/spec/netbsd_base.rs
compiler/rustc_target/src/spec/openbsd_base.rs