From 8dc0a9879cc70332cd8730cfd362bcad16e302b3 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Tue, 7 Sep 2010 21:56:53 +0000 Subject: [PATCH] Stop line entries from dumping full paths when addresses dump themselves as symbol contexts. llvm-svn: 113292 --- lldb/source/Core/Address.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lldb/source/Core/Address.cpp b/lldb/source/Core/Address.cpp index 68b4b48bce2d..042ce2df4bde 100644 --- a/lldb/source/Core/Address.cpp +++ b/lldb/source/Core/Address.cpp @@ -608,7 +608,9 @@ Address::Dump (Stream *s, ExecutionContextScope *exe_scope, DumpStyle style, Dum 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 @@ Address::Dump (Stream *s, ExecutionContextScope *exe_scope, DumpStyle style, Dum { // 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 {