1 # REQUIRES: arm-registered-target
2 ## Ignore ARM mapping symbols (with a prefix of $a, $d or $t).
4 # RUN: llvm-mc -filetype=obj -triple=armv7-none-linux %s -o %t
6 ## Verify that mapping symbols are actually present in the object at expected
8 # RUN: llvm-nm --special-syms %t | FileCheck %s --check-prefix=MAPPING_A --match-full-lines
10 # MAPPING_A: 00000004 t $a
11 # MAPPING_A-NEXT: 00000000 t $d
12 # MAPPING_A-NEXT: 00000008 t $d
13 # MAPPING_A-NEXT: 00000000 T foo
15 # RUN: llvm-mc -filetype=obj -triple=thumbv7-none-linux %s -o %tthumb
16 # RUN: llvm-nm --special-syms %tthumb | FileCheck %s --check-prefix=MAPPING_T --match-full-lines
18 # MAPPING_T: 00000000 t $d
19 # MAPPING_T-NEXT: 00000006 t $d
20 # MAPPING_T-NEXT: 00000004 t $t
21 # MAPPING_T-NEXT: 00000000 T foo
23 # RUN: llvm-symbolizer --obj=%t 4 8 | FileCheck %s -check-prefix SYMBOL
24 # RUN: llvm-symbolizer --obj=%tthumb 4 8 | FileCheck %s -check-prefix SYMBOL