llvm-project/lldb/test/Shell/Commands/Inputs/command-disassemble-process.lldbinit
Pavel Labath 3245dd59b1 [lldb] Reduce duplication in CommandObjectDisassemble
This command had nearly identical code for the "then" and "else"
branches of the "if (m_options.num_instructions != 0)" condition.

This patch factors out the common parts of the two blocks to reduce
duplication.
2020-03-04 13:47:35 +01:00

9 lines
175 B
Plaintext

disassemble
disassemble --line
disassemble --frame
disassemble --pc
disassemble --address 0x4004
disassemble --address 0xdead
disassemble --count 7
disassemble --pc --count 7