summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
authorCarlo Kok <ck@remobjects.com>2014-09-19 19:38:19 +0000
committerCarlo Kok <ck@remobjects.com>2014-09-19 19:38:19 +0000
commit0fd6fd4fd45be23c885f6fa0654c780773ce9517 (patch)
treec3dac23c0b930778d660f4ff96a0abdac6f2adc4 /lldb/scripts/Python/interface
parent5a6edad3d8c09c6fc6122bf048da81028a7e994c (diff)
downloadbcm5719-llvm-0fd6fd4fd45be23c885f6fa0654c780773ce9517.tar.gz
bcm5719-llvm-0fd6fd4fd45be23c885f6fa0654c780773ce9517.zip
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
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r--lldb/scripts/Python/interface/SBTarget.i9
1 files changed, 9 insertions, 0 deletions
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
OpenPOWER on IntegriCloud