about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2019-11-18 15:05:01 -0800
committerJosh Stone <jistone@redhat.com>2019-11-18 15:05:01 -0800
commita5d624d32c9cc04fa8424918c55d7a7bbe520ba1 (patch)
treea6b993f67d9d79ceb9d799e1c47677f6aa3baea3 /src/libstd/sys/unix/stack_overflow.rs
parenta0d40f8bdfcc3c28355467973f97fd4c45ac5876 (diff)
downloadrust-a5d624d32c9cc04fa8424918c55d7a7bbe520ba1.tar.gz
rust-a5d624d32c9cc04fa8424918c55d7a7bbe520ba1.zip
Generate DWARF address ranges for faster lookups
This adds a new option `-Zgenerate-arange-section`, enabled by default,
corresponding to LLVM's `-generate-arange-section`. This creates a
`.debug_aranges` section with DWARF address ranges, which some tools
depend on to optimize address lookups (elfutils [22288], [25173]).

This only has effect when debuginfo is enabled, and the additional data
is small compared to the other debug sections. For example, libstd.so
with full debuginfo is about 11MB, with just 61kB in aranges.

[22288]: https://sourceware.org/bugzilla/show_bug.cgi?id=22288
[25173]: https://sourceware.org/bugzilla/show_bug.cgi?id=25173

Closes #45246.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions