This is an archive of the discontinued LLVM Phabricator instance.

[DWARFDebugRnglists] Add a callback-based version of the getAbsoluteRanges function
ClosedPublic

Authored by labath on Dec 3 2019, 4:16 AM.

Details

Summary

The dump() function already accepts a callback. This makes
getAbsoluteRanges do the same. The existing DWARFUnit overload is
implemented on top of the new function.

This enables usage of the debug_rnglists parser from within lldb (which
has it's own dwarf parser).

Diff Detail

Event Timeline

labath created this revision.Dec 3 2019, 4:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 3 2019, 4:16 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
dblaikie accepted this revision.Dec 3 2019, 6:33 AM

Sounds good

This revision is now accepted and ready to land.Dec 3 2019, 6:33 AM
This revision was automatically updated to reflect the committed changes.