summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/include/lldb/API/SBModule.h7
-rw-r--r--lldb/include/lldb/API/SBTarget.h19
2 files changed, 24 insertions, 2 deletions
diff --git a/lldb/include/lldb/API/SBModule.h b/lldb/include/lldb/API/SBModule.h
index d118198e87d..eb8ba9b3587 100644
--- a/lldb/include/lldb/API/SBModule.h
+++ b/lldb/include/lldb/API/SBModule.h
@@ -175,12 +175,15 @@ public:
//------------------------------------------------------------------
/// Find global and static variables by name.
///
+ /// @param[in] target
+ /// A valid SBTarget instance representing the debuggee.
+ ///
/// @param[in] name
/// The name of the global or static variable we are looking
/// for.
///
- /// @param[in] target
- /// The target program where the variables reside.
+ /// @param[in] max_matches
+ /// Allow the number of matches to be limited to \a max_matches.
///
/// @return
/// A list of matched variables in an SBValueList.
diff --git a/lldb/include/lldb/API/SBTarget.h b/lldb/include/lldb/API/SBTarget.h
index 2c59ec7cb4a..6fae0ae6133 100644
--- a/lldb/include/lldb/API/SBTarget.h
+++ b/lldb/include/lldb/API/SBTarget.h
@@ -290,6 +290,25 @@ public:
bool append,
lldb::SBSymbolContextList& sc_list);
+#ifdef SWIG
+ %feature("autodoc", "
+#endif
+ //------------------------------------------------------------------
+ /// Find global and static variables by name.
+ ///
+ /// @param[in] name
+ /// The name of the global or static variable we are looking
+ /// for.
+ ///
+ /// @param[in] max_matches
+ /// Allow the number of matches to be limited to \a max_matches.
+ ///
+ /// @return
+ /// A list of matched variables in an SBValueList.
+ //------------------------------------------------------------------
+#ifdef SWIG
+ ") FindGlobalVariables;
+#endif
lldb::SBValueList
FindGlobalVariables (const char *name,
uint32_t max_matches);
OpenPOWER on IntegriCloud