Disassembly only part of the file using address specifiers.
Note: The test is a fully baked executable as relocatables do not have addresses. Test exercises disassembly across symbols, sections and range within a symbol (including data).
Paths
| Differential D24160
llvm-objdump: Implement --start-address and --stop-address ClosedPublic Authored by khemant on Sep 1 2016, 2:53 PM.
Details Summary Disassembly only part of the file using address specifiers. Note: The test is a fully baked executable as relocatables do not have addresses. Test exercises disassembly across symbols, sections and range within a symbol (including data).
Diff Detail
Event Timelinekhemant updated this object.
khemant edited edge metadata. Comment ActionsMade test case a yaml instead of binary. Addressed few comments. compnerd edited edge metadata. Comment ActionsWould make it easier to read the test if you aligned the disassembled mnemonics. This revision is now accepted and ready to land.Sep 8 2016, 8:06 PM Closed by commit rL281232: llvm-objdump: Add --start-address and --stop-address options (authored by khemant). · Explain WhySep 12 2016, 10:17 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 70073 test/tools/llvm-objdump/X86/Inputs/simple-executable-x86_64
test/tools/llvm-objdump/X86/start-stop-address.test
tools/llvm-objdump/llvm-objdump.cpp
|
Alignment makes reading the output easier, and whitespace is ignored anyways.