This is an archive of the discontinued LLVM Phabricator instance.

[DebugInfo]Lazy parse abbrevs when symbolizing
Needs ReviewPublic

Authored by dblaikie on Apr 25 2023, 3:19 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This speeds up llvm-symbolizer on code without .debug_aranges - we don't
need to parse all the abbrevs for every CU, just usually the first
abbrev for most CUs, then more abbrevs for any CU we go look into for
symbolizing.

I don't think this makes enough of a difference to worry too much about - but
throwing it out there since I wrote it while exploring things.

Diff Detail

Event Timeline

dblaikie created this revision.Apr 25 2023, 3:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 25 2023, 3:19 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
dblaikie requested review of this revision.Apr 25 2023, 3:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 25 2023, 3:19 PM