This is an archive of the discontinued LLVM Phabricator instance.

Make DWARFExpression::GetLocationExpression public
ClosedPublic

Authored by Eric on Aug 17 2020, 9:38 AM.

Details

Summary

This method is used to get the DataExtractor when the expression is a location list.

Diff Detail

Event Timeline

Eric requested review of this revision.Aug 17 2020, 9:38 AM
Eric created this revision.

Context for this: I am working on an lldb-based debugging tool that needs to be able to generate code to evaluate a dwarf expression without evaluating it. I need access to this method to be able to handle location lists.

labath accepted this revision.Aug 20 2020, 6:11 AM

If you start to need to make more changes for your project, we'll need to have a bigger discussion, but right now, this seems ok.

This revision is now accepted and ready to land.Aug 20 2020, 6:11 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptAug 20 2020, 3:14 PM