[PATCH] Add -bare option to llvm-objdump

Steve King kingshizzle at gmail.com
Tue Sep 9 16:17:05 PDT 2014


This is the first in a series of expected patches to improve disassembly of llvm-objdump.

The -bare option prevents symbolizing disassembly.  -bare is a precursor to symbolizing disassembly by default and future disassembler improvements.
Because r216983 removes symbolizing support, -bare currently does nothing.

Changes in this patch
1) Add -bare command line option to llvm-objdump
2) Add -bare to all tests using llvm-objdump disassembly
3) Change disassembly tests to use -d consistently, instead of a random mix of -d, -disassemble, --disassemble

http://reviews.llvm.org/D5279

Files:
  test/CodeGen/AArch64/arm64-simplest-elf.ll
  test/CodeGen/AArch64/bitfield-insert-0.ll
  test/CodeGen/AArch64/inlineasm-ldr-pseudo.ll
  test/CodeGen/ARM/Windows/chkstk-movw-movt-isel.ll
  test/CodeGen/ARM/inlineasm-ldr-pseudo.ll
  test/CodeGen/ARM/inlineasm-switch-mode-oneway-from-arm.ll
  test/CodeGen/ARM/inlineasm-switch-mode-oneway-from-thumb.ll
  test/CodeGen/ARM/inlineasm-switch-mode.ll
  test/CodeGen/ARM/struct_byval_arm_t1_t2.ll
  test/CodeGen/ARM/trap.ll
  test/CodeGen/Thumb/iabs.ll
  test/CodeGen/X86/2014-08-29-CompactUnwind.ll
  test/LTO/attrs.ll
  test/MC/AArch64/elf-objdump.s
  test/MC/AArch64/optional-hash.s
  test/MC/ARM/AlignedBundling/group-bundle-arm.s
  test/MC/ARM/AlignedBundling/pad-align-to-bundle-end.s
  test/MC/ARM/Windows/mov32t-range.s
  test/MC/ARM/align_arm_2_thumb.s
  test/MC/ARM/align_thumb_2_arm.s
  test/MC/ARM/cmp-immediate-fixup.s
  test/MC/ARM/cmp-immediate-fixup2.s
  test/MC/ARM/coff-relocations.s
  test/MC/ARM/fixup-cpu-mode.s
  test/MC/ARM/thumb2-cbn-to-next-inst.s
  test/MC/ELF/relax-all-flag.s
  test/MC/MachO/ARM/llvm-objdump-macho-stripped.s
  test/MC/MachO/ARM/llvm-objdump-macho.s
  test/MC/Mips/cpload.s
  test/MC/Mips/cpsetup.s
  test/MC/Mips/elf-objdump.s
  test/MC/Mips/higher-highest-addressing.s
  test/MC/Mips/hilo-addressing.s
  test/MC/Mips/micromips-el-fixup-data.s
  test/MC/Mips/mips64extins.ll
  test/MC/Mips/mips64shift.ll
  test/MC/Mips/mips_gprel16.s
  test/MC/Mips/nacl-mask.s
  test/MC/Mips/sext_64_32.ll
  test/MC/X86/AlignedBundling/autogen-inst-offset-align-to-end.s
  test/MC/X86/AlignedBundling/autogen-inst-offset-padding.s
  test/MC/X86/AlignedBundling/different-sections.s
  test/MC/X86/AlignedBundling/long-nop-pad.s
  test/MC/X86/AlignedBundling/pad-align-to-bundle-end.s
  test/MC/X86/AlignedBundling/pad-bundle-groups.s
  test/MC/X86/AlignedBundling/relax-at-bundle-end.s
  test/MC/X86/AlignedBundling/relax-in-bundle-group.s
  test/MC/X86/AlignedBundling/single-inst-bundling.s
  test/MC/X86/fixup-cpu-mode.s
  test/MC/X86/relax-insn.s
  test/MC/X86/stackmap-nops.ll
  test/MC/X86/x86_long_nop.s
  test/MC/X86/x86_nop.s
  test/Object/ARM/macho-data-in-code.test
  test/Object/ARM/objdump-thumb.test
  test/Object/Mips/feature.test
  test/Object/X86/macho-text-sections.test
  test/Object/X86/objdump-disassembly-inline-relocations.test
  test/Object/X86/objdump-label.test
  test/Object/X86/objdump-trivial-object.test
  test/tools/llvm-objdump/ARM/macho-arm-and-thumb.test
  test/tools/llvm-objdump/ARM/macho-mattr-arm.test
  test/tools/llvm-objdump/ARM/macho-mcpu-arm.test
  test/tools/llvm-objdump/X86/disassembly-show-raw.test
  test/tools/llvm-objdump/X86/out-of-section-sym.test
  tools/llvm-objdump/llvm-objdump.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5279.13500.patch
Type: text/x-patch
Size: 52021 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140909/f219c0c3/attachment.bin>


More information about the llvm-commits mailing list