| Issue |
109280
|
| Summary |
[llvm-objdump][ARM32] Not present the symbol name in assembly
|
| Labels |
|
| Assignees |
|
| Reporter |
hstk30-hw
|
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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs