This is an archive of the discontinued LLVM Phabricator instance.

[DWARF] Use DWARFDataExtractor::getInitialLength to parse debug_names
ClosedPublic

Authored by labath on Feb 25 2020, 7:57 AM.

Details

Summary

In this patch I've done a slightly bigger rewrite to also remove the
hardcoded header lengths.

Diff Detail

Event Timeline

labath created this revision.Feb 25 2020, 7:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 25 2020, 7:57 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
probinson accepted this revision.Feb 25 2020, 12:35 PM
probinson added a subscriber: probinson.

I love it.

llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
382–404

maybe .debug_names (with leading dot) (although I admit the names in MachO are different)

This revision is now accepted and ready to land.Feb 25 2020, 12:35 PM
This revision was automatically updated to reflect the committed changes.
labath marked an inline comment as done.