diff options
author | Jason Molenda <jmolenda@apple.com> | 2015-02-13 23:24:21 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2015-02-13 23:24:21 +0000 |
commit | c980fa92ebac26a059e0d157362e82ae2f0c7d3a (patch) | |
tree | 0de6fab178c9e2f0ad661e8ceb1961fe60296b9c /lldb/source/Commands/CommandObjectSource.cpp | |
parent | eff99e8ac53a83bbf9e408f6f59669132b272ae3 (diff) | |
download | llvm-c980fa92ebac26a059e0d157362e82ae2f0c7d3a.zip llvm-c980fa92ebac26a059e0d157362e82ae2f0c7d3a.tar.gz llvm-c980fa92ebac26a059e0d157362e82ae2f0c7d3a.tar.bz2 |
Change the default disassembly format again. First attempt at
changing it was in r219544 - after living on that for a few
months, I wanted to take another crack at this.
The disassembly-format setting still exists and the old format
can be user specified with a setting like
${current-pc-arrow}${addr-file-or-load}{ <${function.name-without-args}${function.concrete-only-addr-offset-no-padding}>}:
This patch was discussed in http://reviews.llvm.org/D7578
<rdar://problem/19726421>
llvm-svn: 229186
Diffstat (limited to 'lldb/source/Commands/CommandObjectSource.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectSource.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectSource.cpp b/lldb/source/Commands/CommandObjectSource.cpp index a88a9b1..23fb52b 100644 --- a/lldb/source/Commands/CommandObjectSource.cpp +++ b/lldb/source/Commands/CommandObjectSource.cpp @@ -690,13 +690,15 @@ protected: bool show_module = true; bool show_inlined_frames = true; const bool show_function_arguments = true; + const bool show_function_name = true; sc.DumpStopContext(&result.GetOutputStream(), m_exe_ctx.GetBestExecutionContextScope(), sc.line_entry.range.GetBaseAddress(), show_fullpaths, show_module, show_inlined_frames, - show_function_arguments); + show_function_arguments, + show_function_name); result.GetOutputStream().EOL(); if (m_options.num_lines == 0) |