diff options
author | Jim Ingham <jingham@apple.com> | 2011-11-09 19:02:04 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2011-11-09 19:02:04 +0000 |
commit | aea81795a60c2edb560907bfcc28405b99918cb8 (patch) | |
tree | bafebfdab37b2f5b55b730e420ca767ec1ca9381 /lldb/source/Commands/CommandObjectSource.cpp | |
parent | 0c7c931dbf3876bcfa6c8be3cc8c9e54eff433b4 (diff) | |
download | llvm-aea81795a60c2edb560907bfcc28405b99918cb8.zip llvm-aea81795a60c2edb560907bfcc28405b99918cb8.tar.gz llvm-aea81795a60c2edb560907bfcc28405b99918cb8.tar.bz2 |
"source list -n" should use eFunctionNameTypeAuto not eFunctionNameTypeBase for the name lookup.
llvm-svn: 144199
Diffstat (limited to 'lldb/source/Commands/CommandObjectSource.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectSource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectSource.cpp b/lldb/source/Commands/CommandObjectSource.cpp index 5baf5e6..9623ebc 100644 --- a/lldb/source/Commands/CommandObjectSource.cpp +++ b/lldb/source/Commands/CommandObjectSource.cpp @@ -311,13 +311,13 @@ public: { matching_modules.Clear(); target->GetImages().FindModules (&module_spec, NULL, NULL, NULL, matching_modules); - num_matches += matching_modules.FindFunctions (name, eFunctionNameTypeBase, include_symbols, append, sc_list); + num_matches += matching_modules.FindFunctions (name, eFunctionNameTypeAuto, include_symbols, append, sc_list); } } } else { - num_matches = target->GetImages().FindFunctions (name, eFunctionNameTypeBase, include_symbols, append, sc_list); + num_matches = target->GetImages().FindFunctions (name, eFunctionNameTypeAuto, include_symbols, append, sc_list); } SymbolContext sc; |