summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ModuleList.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2012-02-10 22:52:19 +0000
committerSean Callanan <scallanan@apple.com>2012-02-10 22:52:19 +0000
commit9df05fbb7f651ee824c80161db5833bf412f9997 (patch)
tree30e09e7eab43f7792f6d9a027fa79aa16f009d95 /lldb/source/Core/ModuleList.cpp
parent59fe3f89cb4e79364ff6e9ac8d25d3e7855b153f (diff)
downloadbcm5719-llvm-9df05fbb7f651ee824c80161db5833bf412f9997.tar.gz
bcm5719-llvm-9df05fbb7f651ee824c80161db5833bf412f9997.zip
Extended function lookup to allow the user to
indicate whether inline functions are desired. This allows the expression parser, for instance, to filter out inlined functions when looking for functions it can call. llvm-svn: 150279
Diffstat (limited to 'lldb/source/Core/ModuleList.cpp')
-rw-r--r--lldb/source/Core/ModuleList.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Core/ModuleList.cpp b/lldb/source/Core/ModuleList.cpp
index 8f372c51727..360c868cb5a 100644
--- a/lldb/source/Core/ModuleList.cpp
+++ b/lldb/source/Core/ModuleList.cpp
@@ -186,6 +186,7 @@ uint32_t
ModuleList::FindFunctions (const ConstString &name,
uint32_t name_type_mask,
bool include_symbols,
+ bool include_inlines,
bool append,
SymbolContextList &sc_list)
{
@@ -196,7 +197,7 @@ ModuleList::FindFunctions (const ConstString &name,
collection::const_iterator pos, end = m_modules.end();
for (pos = m_modules.begin(); pos != end; ++pos)
{
- (*pos)->FindFunctions (name, NULL, name_type_mask, include_symbols, true, sc_list);
+ (*pos)->FindFunctions (name, NULL, name_type_mask, include_symbols, include_inlines, true, sc_list);
}
return sc_list.GetSize();
OpenPOWER on IntegriCloud