Stop line entries from dumping full paths when addresses dump themselves as symbol contexts.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113292 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Core/Address.cpp b/source/Core/Address.cpp
index 68b4b48..042ce2d 100644
--- a/source/Core/Address.cpp
+++ b/source/Core/Address.cpp
@@ -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
{