[lldb] Extend Python convenience variable table with equivalent APIs
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 3 Mar 2021 00:11:34 +0000 (16:11 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 3 Mar 2021 00:13:55 +0000 (16:13 -0800)
commitf46a441b1c5dfb0a2580f656e1506fa138f21165
tree763c23b9f09ac0e0485bdc153aa47acb97e85e10
parent5826aa48f03fba215b135f3c21ee52662281134d
[lldb] Extend Python convenience variable table with equivalent APIs

Add a column to the table of convenience variables with the equivalent
API to get to the current debugger, target, process, etc.

We often get asked to make convenience variables available outside of
the interactive interpreter. After explaining why that's not possible, a
common complaint is that it's hard to find out how to get to these
variables in a non-interactive context, for example how to get to the
current frame when given a thread. This patch aims to alleviate that by
including the APIs to navigate between these instances in the table.

Differential revision: https://reviews.llvm.org/D97778
lldb/docs/use/python-reference.rst