This is an archive of the discontinued LLVM Phabricator instance.

[DWARFVerifier] Use the new location list api
ClosedPublic

Authored by labath on Nov 21 2019, 4:55 AM.

Details

Summary

Instead of going to the debug_loc section directly, use new
DWARFDie::getLocations instead. This means that the code will now
automatically support debug_loclists sections.

This is the last usage of the old debug_loc methods, and they can now be
removed.

Diff Detail

Event Timeline

labath created this revision.Nov 21 2019, 4:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 21 2019, 4:55 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
JDevlieghere accepted this revision.Nov 21 2019, 10:32 AM
This revision is now accepted and ready to land.Nov 21 2019, 10:32 AM
This revision was automatically updated to reflect the committed changes.