This is an archive of the discontinued LLVM Phabricator instance.

[DebugInfo] Refactor .debug_macro checks. NFCI
ClosedPublic

Authored by dstenb on Jul 1 2020, 8:49 AM.

Details

Summary

Move the Dwarf version checks that determines if the .debug_macro
section should be emitted, into a DwarfDebug member. This is a
preparatory refactoring for allowing the GNU .debug_macro extension,
which is a precursor to the DWARF 5 format, to be emitted by LLVM for
earlier DWARF versions.

Diff Detail

Event Timeline

dstenb created this revision.Jul 1 2020, 8:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 1 2020, 8:49 AM
dblaikie accepted this revision.Jul 1 2020, 1:38 PM

Looks good

This revision is now accepted and ready to land.Jul 1 2020, 1:38 PM
This revision was landed with ongoing or failed builds.Aug 11 2020, 4:31 AM
This revision was automatically updated to reflect the committed changes.