Displaying 2 results from an estimated 2 matches for "x86_labeltest".
2014 Aug 26
2
[LLVMdev] llvm-objdump
...uld) do for ELF vs.
Mach-O. If you're game, let's compare an example:
$ cat labeltest.s
.text
foo:
nop
bar:
bum:
nop
jmp bar
jmp bum
jmp baz
nop
baz:
nop
Assembling for x86 and llvm-objdump'ing, i get
$ llvm-mc -arch=x86 -filetype=obj labeltest.s -o x86_labeltest.o
$ llvm-objdump -d x86_labeltest.o
x86_labeltest.o: file format ELF32-i386
Disassembly of section .text:
foo:
0: 90 nop
bum:
1: 90 nop
2: eb fd jmp -...
2014 Aug 26
6
[LLVMdev] llvm-objdump
I would like to improve llvm-objdump. However, many unit tests depend
precisely on the current output, making the picture a little tricky.
My experience is limited to ELF format objects, so experts in other
formats please sanity check.
Suggested changes:
1) Symbolize conditional branch targets. Currently, llvm-objdump
prints branch targets numerically regardless of -symbolize.
2) Make