Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate DWARF address ranges for faster lookups #66532

Merged
merged 2 commits into from
Nov 20, 2019

Commits on Nov 18, 2019

  1. 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 rust-lang#45246.
    cuviper committed Nov 18, 2019
    Configuration menu
    Copy the full SHA
    a5d624d View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2019

  1. Configuration menu
    Copy the full SHA
    4c2f1c8 View commit details
    Browse the repository at this point in the history