This is an archive of the discontinued LLVM Phabricator instance.

[DWARF] Generate qualified names of functions if linkage names are missing.
ClosedPublic

Authored by sivachandra on Mar 25 2015, 6:06 PM.

Details

Summary

This is similar to the change introduced for variable DIEs in r233098. If the
linkage names of functions are missing in the DWARF, then their fully qualified
names (similar to the name that would be got by demangling their linkage name)
is generated using the decl context.

This change fixes TestNamespace when the test case is compiled with GCC, hence
it is enabled for GCC. The test and the test case are also enhanced to cover
variadic functions.

Diff Detail

Event Timeline

sivachandra retitled this revision from to [DWARF] Generate qualified names of functions if linkage names are missing..
sivachandra updated this object.
sivachandra edited the test plan for this revision. (Show Details)
sivachandra added a reviewer: clayborg.
sivachandra added a subscriber: Unknown Object (MLST).
clayborg accepted this revision.Mar 26 2015, 9:45 AM
clayborg edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Mar 26 2015, 9:45 AM
sivachandra closed this revision.Mar 26 2015, 5:12 PM