This is an archive of the discontinued LLVM Phabricator instance.

[DWARF] Simplify dumping of a .debug_addr section.
ClosedPublic

Authored by ikudrin on Jul 1 2019, 10:34 AM.

Details

Summary

This patch removes the part which tried to interpret addresses in that section as offsets and simplifies the remaining code.

Diff Detail

Event Timeline

ikudrin created this revision.Jul 1 2019, 10:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 1 2019, 10:34 AM

The similar code might be found in DWARFListTable, I guess that it might accidentally come from there.

dblaikie accepted this revision.Jul 1 2019, 12:22 PM

Yeah, that looks incorrect/meaningless in this context - thanks for the catch!

This revision is now accepted and ready to land.Jul 1 2019, 12:22 PM
This revision was automatically updated to reflect the committed changes.