This is an archive of the discontinued LLVM Phabricator instance.

Parse function name from DWARF DW_AT_abstract_origin
ClosedPublic

Authored by tberghammer on May 26 2015, 9:47 AM.

Details

Summary

Parse function name from DWARF DW_AT_abstract_origin

A DW_TAG_subprogram entry can contain a reference to a
DW_AT_abstract_origin entry instead of duplicating the information
from it (e.g.: name) when the same function is inlined in some case
and not inlined in other cases.

This CL fixes name parsing for the case when the DW_TAG_subprogram
for the non inlined version contains just a reference to the
DW_AT_abstract_origin entry instead of the full information.

Diff Detail

Repository
rL LLVM

Event Timeline

tberghammer retitled this revision from to Parse function name from DWARF DW_AT_abstract_origin.
tberghammer updated this object.
tberghammer edited the test plan for this revision. (Show Details)
tberghammer added reviewers: ovyalov, clayborg.
tberghammer added a subscriber: Unknown Object (MLST).
ovyalov accepted this revision.May 26 2015, 2:04 PM
ovyalov edited edge metadata.

LGTM

This revision is now accepted and ready to land.May 26 2015, 2:04 PM
clayborg accepted this revision.May 26 2015, 3:43 PM
clayborg edited edge metadata.

Looks good.

This revision was automatically updated to reflect the committed changes.