From 0fd6fd4fd45be23c885f6fa0654c780773ce9517 Mon Sep 17 00:00:00 2001 From: Carlo Kok Date: Fri, 19 Sep 2014 19:38:19 +0000 Subject: Adds two new functions to SBTarget FindGlobalVariables and FindGlobalFunctions that lets you search by name, by regular expression and by starts with. llvm-svn: 218140 --- lldb/scripts/Python/interface/SBTarget.i | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lldb/scripts/Python/interface') diff --git a/lldb/scripts/Python/interface/SBTarget.i b/lldb/scripts/Python/interface/SBTarget.i index bbf1f74faa5..4de442e0b8b 100644 --- a/lldb/scripts/Python/interface/SBTarget.i +++ b/lldb/scripts/Python/interface/SBTarget.i @@ -113,6 +113,15 @@ public: void SetDetachOnError(bool enable); + lldb::SBValueList + FindGlobalVariables(const char *name, + uint32_t max_matches, + MatchType matchtype); + + lldb::SBSymbolContextList + FindGlobalFunctions(const char *name, + uint32_t max_matches, + MatchType matchtype); }; class SBAttachInfo -- cgit v1.2.3