This is an archive of the discontinued LLVM Phabricator instance.

Respect include_inlines when looking up functions in SymbolFileDWARF
ClosedPublic

Authored by labath on Mar 12 2015, 5:05 AM.

Details

Summary

SymbolFileDWARF was not respecting the include_inlines argument in function lookup in all code
paths. This resulted in an attempt to call an inlined function during expression evaluation,
which is impossible, and usually resulted in a segfault in the inferior. This patch makes sure
include_inlines is respected in all code paths.

Diff Detail

Repository
rL LLVM

Event Timeline

labath updated this revision to Diff 21818.Mar 12 2015, 5:05 AM
labath retitled this revision from to Respect include_inlines when looking up functions in SymbolFileDWARF.
labath updated this object.
labath edited the test plan for this revision. (Show Details)
labath added a reviewer: clayborg.
labath added subscribers: sivachandra, Unknown Object (MLST).
clayborg accepted this revision.Mar 12 2015, 9:40 AM
clayborg edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Mar 12 2015, 9:40 AM
This revision was automatically updated to reflect the committed changes.