llvm-project/lldb/source/Plugins/UnwindAssembly/InstEmulation
Jason Molenda aff1b357b0 Add a new disassembly-format specification so that the disassembler
output style can be customized.  Change the built-in default to be
more similar to gdb's disassembly formatting.

The disassembly-format for a gdb-like output is

${addr-file-or-load} <${function.name-without-args}${function.concrete-only-addr-offset-no-padding}>: 

The disassembly-format for the lldb style output is

{${function.initial-function}{${module.file.basename}`}{${function.name-without-args}}:\n}{${function.changed}\n{${module.file.basename}`}{${function.name-without-args}}:\n}{${current-pc-arrow} }{${addr-file-or-load}}: 

The two backticks in the lldb style formatter triggers the sub-expression evaluation in
CommandInterpreter::PreprocessCommand() so you can't use that one as-is ... changing to
use ' characters instead of ` would work around that.

<rdar://problem/9885398> 

llvm-svn: 219544
2014-10-10 23:07:36 +00:00
..
CMakeLists.txt Convert to UNIX line endings. 2013-09-25 10:37:32 +00:00
Makefile Add UnwindAssembly plugins to makefile build 2011-05-19 17:34:58 +00:00
UnwindAssemblyInstEmulation.cpp Add a new disassembly-format specification so that the disassembler 2014-10-10 23:07:36 +00:00
UnwindAssemblyInstEmulation.h On x86 & x86_64, try to use eh_frame for frame 0. 2014-08-25 20:29:09 +00:00