31 lines · plain
1## Test --special-syms flag for ARM mapping symbols used to mark transitions2## between ARM code, THUMB code and data ($a, $t, $t).3#4# RUN: yaml2obj %s -o %t5# RUN: llvm-nm %t | count 06# RUN: llvm-nm --special-syms %t | FileCheck %s7 8!ELF9FileHeader:10 Class: ELFCLASS3211 Data: ELFDATA2LSB12 Type: ET_REL13 Machine: EM_ARM14 Flags: [ EF_ARM_EABI_VER5 ]15Sections:16 - Name: .text17 Type: SHT_PROGBITS18 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]19 AddressAlign: 0x420Symbols:21 - Name: '$d.0'22 Section: .text23 - Name: '$a.1'24 Section: .text25 - Name: '$t.1'26 Section: .text27 28# CHECK: 00000000 t $a.129# CHECK: 00000000 t $d.030# CHECK: 00000000 t $t.131