This is an archive of the discontinued LLVM Phabricator instance.

[DebugInfo] Use a common method to determine a suitable form for section offsts (6/19).
ClosedPublic

Authored by ikudrin on Sep 2 2020, 6:22 AM.

Details

Summary

This is mostly an NFC patch because the involved methods are used when emitting DWO files, which is incompatible with DWARFv3, or for platforms where DWARF64 is not supported yet.

Diff Detail

Event Timeline

ikudrin created this revision.Sep 2 2020, 6:22 AM
ikudrin requested review of this revision.Sep 2 2020, 6:22 AM
dblaikie accepted this revision.Sep 2 2020, 2:11 PM

Sounds good - testing dependent on review of prior patches. As mentioned in prior patches, I'd lean towards more feature/end-to-end testing, rather than unit testing, and if that change is made in those earlier patches this one would be updated to be consistent with that choice.

This revision is now accepted and ready to land.Sep 2 2020, 2:11 PM
ikudrin updated this revision to Diff 289718.Sep 3 2020, 7:31 AM
ikudrin retitled this revision from [DebugInfo] Use a common method to determine a suitable form for section offsts (8/19). to [DebugInfo] Use a common method to determine a suitable form for section offsts (6/19)..
  • Update to reflect changes in the parent commits.