[Lldb-commits] [lldb] r144199 - /lldb/trunk/source/Commands/CommandObjectSource.cpp

Jim Ingham jingham at apple.com
Wed Nov 9 11:02:04 PST 2011


Author: jingham
Date: Wed Nov  9 13:02:04 2011
New Revision: 144199

URL: http://llvm.org/viewvc/llvm-project?rev=144199&view=rev
Log:
"source list -n" should use eFunctionNameTypeAuto not eFunctionNameTypeBase for the name lookup.

Modified:
    lldb/trunk/source/Commands/CommandObjectSource.cpp

Modified: lldb/trunk/source/Commands/CommandObjectSource.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectSource.cpp?rev=144199&r1=144198&r2=144199&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectSource.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectSource.cpp Wed Nov  9 13:02:04 2011
@@ -311,13 +311,13 @@
                     {
                         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;





More information about the lldb-commits mailing list