Fixed a crasher that could happen when trying to look at N_GSYM entries
in the DWARF + debug map symbol file parser.
Also cleaned up the "image lookup --address ADDR" output when we it results
in something that is in an inlined function. Now we correctly dump out the
full inlined call stack.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125072 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Symbol/Block.cpp b/source/Symbol/Block.cpp
index 2aa8562..dbb727e 100644
--- a/source/Symbol/Block.cpp
+++ b/source/Symbol/Block.cpp
@@ -172,7 +172,7 @@
// First frame in a frame with inlined functions
s->PutCString (" [inlined]");
}
- if (show_inline_blocks)
+ if (show_inline_blocks && child_inline_call_site)
s->EOL();
else
s->PutChar(' ');