diff options
| author | Josh Stone <jistone@redhat.com> | 2019-11-18 15:05:01 -0800 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2019-11-18 15:05:01 -0800 |
| commit | a5d624d32c9cc04fa8424918c55d7a7bbe520ba1 (patch) | |
| tree | a6b993f67d9d79ceb9d799e1c47677f6aa3baea3 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | a0d40f8bdfcc3c28355467973f97fd4c45ac5876 (diff) | |
| download | rust-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
