1 # REQUIRES: csky-registered-target
2 ## Ignore CSKY mapping symbols (with a prefix of $d or $t).
4 # RUN: llvm-mc -filetype=obj -triple=csky %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_SYM --match-full-lines
10 # MAPPING_SYM: 00000000 t $d
11 # MAPPING_SYM-NEXT: 00000008 t $d
12 # MAPPING_SYM-NEXT: 00000004 t $t
13 # MAPPING_SYM-NEXT: 00000000 T foo
15 # RUN: llvm-symbolizer --obj=%t 0 4 0xc | FileCheck %s -check-prefix SYMBOL