This is an archive of the discontinued LLVM Phabricator instance.

Dwarf parser: don't lookup void typedefs in the DWO
ClosedPublic

Authored by labath on Jul 11 2016, 6:30 AM.

Details

Summary

void typedefs do not have a DW_AT_type attribute, so we end up with an empty encoding_uid
variable. These don't need to be looked up and trying to look that will assert in a debug build.

Diff Detail

Repository
rL LLVM

Event Timeline

labath updated this revision to Diff 63499.Jul 11 2016, 6:30 AM
labath retitled this revision from to Dwarf parser: don't lookup void typedefs in the DWO.
labath updated this object.
labath added a reviewer: clayborg.
labath added subscribers: tberghammer, lldb-commits.
clayborg accepted this revision.Jul 11 2016, 10:02 AM
clayborg edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Jul 11 2016, 10:02 AM
This revision was automatically updated to reflect the committed changes.