Page MenuHomePhabricator

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

Authored by labath on Feb 25 2020, 3:57 PM.

Details

Summary

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

Event Timeline

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

I love it.

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

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, 8:35 PM
This revision was automatically updated to reflect the committed changes.
labath marked an inline comment as done.