[Lldb-commits] [PATCH] D12877: [LLDB] Switch to assembly view if source is moved
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 15 15:37:13 PDT 2015
clayborg requested changes to this revision.
clayborg added a comment.
Ok, so Jim and I agreed verbally on the solution. If we have source, but we don't have the source file itself, then we should print the line table entry out. This can be done with:
if (num_lines == 0)
const bool show_fullpaths = true;
m_sc.line_entry.DumpStopContext(&strm, show_fullpaths) const
have_source = false;
So the output will now be
0x1000: add r1, r2, r3
No need for a warning, just print the line entry.
More information about the lldb-commits