blob: 534be1773c5b36904cf5473463812d3259bb3582 [file] [log] [blame]
## Test --special-syms flag for ARM mapping symbols used to mark transitions
## between ARM code, THUMB code and data ($a, $t, $t).
#
# RUN: yaml2obj %s -o %t
# RUN: llvm-nm %t | count 0
# RUN: llvm-nm --special-syms %t | FileCheck %s
!ELF
FileHeader:
Class: ELFCLASS32
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_ARM
Flags: [ EF_ARM_EABI_VER5 ]
Sections:
- Name: .text
Type: SHT_PROGBITS
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
AddressAlign: 0x4
Symbols:
- Name: '$d.0'
Section: .text
- Name: '$a.1'
Section: .text
- Name: '$t.1'
Section: .text
# CHECK: 00000000 t $a.1
# CHECK: 00000000 t $d.0
# CHECK: 00000000 t $t.1