This is an archive of the discontinued LLVM Phabricator instance.

Fix DW_AT_specification handling in DWO files
ClosedPublic

Authored by labath on May 4 2016, 10:27 AM.

Details

Summary

We were trying to get a DWARFDIE from a CompileUnit belonging to a DWO file. However, this
function does not understand the die encoding used by the DWO files. Instead use GetDIE on the
SymbolFileDWARF, which is overriden in DWO to do the right thing.

Diff Detail

Repository
rL LLVM

Event Timeline

labath updated this revision to Diff 56168.May 4 2016, 10:27 AM
labath retitled this revision from to Fix DW_AT_specification handling in DWO files.
labath updated this object.
labath added reviewers: clayborg, tberghammer.
labath added subscribers: ovyalov, lldb-commits.
clayborg accepted this revision.May 4 2016, 10:46 AM
clayborg edited edge metadata.
This revision is now accepted and ready to land.May 4 2016, 10:46 AM
tberghammer accepted this revision.May 4 2016, 11:30 AM
tberghammer edited edge metadata.

LGTM

This revision was automatically updated to reflect the committed changes.