Open
Description
As testcase llvm/test/MC/ARM/arm-macho-calls.s show
@ CHECK: _func:
@ CHECK: bl #0 <_func+0x8>
@ CHECK: ARM_RELOC_BR24 __text
@ CHECK: bl #-12 <_func>
@ CHECK: ARM_RELOC_BR24 _elsewhere
.global _func
_func:
bl Llocal_symbol
bl _elsewhere
Llocal_symbol:
bx lr
.global _elsewhere
_elsewhere:
bx lr
Not present the symbol name in assembly.
I hope it present like below:
@ CHECK: <_func>:
@ CHECK: bl 0x8 <__text> @ imm = #0
@ CHECK: ARM_RELOC_BR24 __text
@ CHECK: bl 0x0 <_elsewhere> @ imm = #-12
@ CHECK: ARM_RELOC_BR24 _elsewhere
.global _func
_func:
bl Llocal_symbol
bl _elsewhere
Llocal_symbol:
bx lr
.global _elsewhere
_elsewhere:
bx lr
That's what GNU objdump work. No symbol name make me confused sometimes.