This is an archive of the discontinued LLVM Phabricator instance.

[DWARF] Eliminate the DWARFDebugNames::Header::Padding field.
ClosedPublic

Authored by ikudrin on Jan 20 2020, 5:54 AM.

Details

Summary

The padding field is reserved for DWARF and does not contain any useful information. No need to read, store and report it.

Diff Detail

Event Timeline

ikudrin created this revision.Jan 20 2020, 5:54 AM
aprantl accepted this revision.Jan 21 2020, 10:20 AM
aprantl added inline comments.
llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
241

It looks like the rest of the struct doesn't follow the on-disk memory layout either, so I guess this is ok.

This revision is now accepted and ready to land.Jan 21 2020, 10:20 AM
This revision was automatically updated to reflect the committed changes.