[Lldb-commits] [lldb] r113292 - /lldb/trunk/source/Core/Address.cpp

Greg Clayton gclayton at apple.com
Tue Sep 7 14:56:53 PDT 2010


Author: gclayton
Date: Tue Sep  7 16:56:53 2010
New Revision: 113292

URL: http://llvm.org/viewvc/llvm-project?rev=113292&view=rev
Log:
Stop line entries from dumping full paths when addresses dump themselves as symbol contexts.

Modified:
    lldb/trunk/source/Core/Address.cpp

Modified: lldb/trunk/source/Core/Address.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Address.cpp?rev=113292&r1=113291&r2=113292&view=diff
==============================================================================
--- lldb/trunk/source/Core/Address.cpp (original)
+++ lldb/trunk/source/Core/Address.cpp Tue Sep  7 16:56:53 2010
@@ -608,7 +608,9 @@
                     if (sc.function || sc.symbol)
                     {
                         bool show_stop_context = true;
-                        bool show_module = (style == DumpStyleResolvedDescription);
+                        const bool show_module = (style == DumpStyleResolvedDescription);
+                        const bool show_fullpaths = false; 
+                        const bool show_inlined_frames = false;
                         if (sc.function == NULL && sc.symbol != NULL)
                         {
                             // If we have just a symbol make sure it is in the right section
@@ -625,7 +627,12 @@
                         {
                             // We have a function or a symbol from the same
                             // sections as this address.
-                            sc.DumpStopContext(s, exe_scope, *this, true, show_module, false);
+                            sc.DumpStopContext (s, 
+                                                exe_scope, 
+                                                *this, 
+                                                show_fullpaths, 
+                                                show_module, 
+                                                show_inlined_frames);
                         }
                         else
                         {





More information about the lldb-commits mailing list