about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-11-20 12:58:32 +0100
committerGitHub <noreply@github.com>2019-11-20 12:58:32 +0100
commit1346557ba1c5165eb48f2ea5d6b7a3bd2de139c4 (patch)
tree61ffbb074b39ff659b13147eb8cd3dafa937b9ad /src/libstd/sys/unix/stack_overflow.rs
parent0a0d07a1fc712241ea9215a621d3f4fa9162ee20 (diff)
parent4c2f1c802c4d582891a8e079949889d2462bbfd2 (diff)
downloadrust-1346557ba1c5165eb48f2ea5d6b7a3bd2de139c4.tar.gz
rust-1346557ba1c5165eb48f2ea5d6b7a3bd2de139c4.zip
Rollup merge of #66532 - cuviper:dwarf-aranges, r=michaelwoerister
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.
r? @michaelwoerister
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions