This is an archive of the discontinued LLVM Phabricator instance.

[lldb-mi] Fix -var-evaluate-expression evaluation using created variable object.
ClosedPublic

Authored by dawn on Jul 30 2015, 12:35 PM.

Details

Summary

The code which added the child object was in the wrong spot, so the child object would be added only if the print-value was all or simple. This patch fixes the handling when the print-value is none as well.

Diff Detail

Repository
rL LLVM

Event Timeline

dawn updated this revision to Diff 31065.Jul 30 2015, 12:35 PM
dawn retitled this revision from to [lldb-mi] Fix -var-evaluate-expression evaluation using created variable object..
dawn updated this object.
dawn added reviewers: ki.stfu, brucem, abidh.
dawn set the repository for this revision to rL LLVM.
dawn added a subscriber: lldb-commits.
abidh accepted this revision.Jul 31 2015, 2:13 AM
abidh edited edge metadata.

Looks good. Just change the commit message to mention that problem was in -var-list-children.

This revision is now accepted and ready to land.Jul 31 2015, 2:13 AM
This revision was automatically updated to reflect the committed changes.