diff options
Diffstat (limited to 'lldb/scripts/Python/interface/SBTarget.i')
-rw-r--r-- | lldb/scripts/Python/interface/SBTarget.i | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBTarget.i b/lldb/scripts/Python/interface/SBTarget.i index 88fcf036ee1..8d681e80653 100644 --- a/lldb/scripts/Python/interface/SBTarget.i +++ b/lldb/scripts/Python/interface/SBTarget.i @@ -586,6 +586,21 @@ public: FindGlobalVariables (const char *name, uint32_t max_matches); + %feature("docstring", " + //------------------------------------------------------------------ + /// Find the first global (or static) variable by name. + /// + /// @param[in] name + /// The name of the global or static variable we are looking + /// for. + /// + /// @return + /// An SBValue that gets filled in with the found variable (if any). + //------------------------------------------------------------------ + ") FindFirstGlobalVariable; + lldb::SBValue + FindFirstGlobalVariable (const char* name); + void Clear (); |