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.
llvm-svn: 125072
diff --git a/lldb/source/Symbol/Block.cpp b/lldb/source/Symbol/Block.cpp
index 2aa8562..dbb727e 100644
--- a/lldb/source/Symbol/Block.cpp
+++ b/lldb/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(' ');