1# REQUIRES: csky-registered-target 2## Ignore CSKY mapping symbols (with a prefix of $d or $t). 3 4# RUN: llvm-mc -filetype=obj -triple=csky %s -o %t 5 6## Verify that mapping symbols are actually present in the object at expected 7## addresses. 8# RUN: llvm-nm --special-syms %t | FileCheck %s -check-prefix MAPPING_SYM --match-full-lines 9 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 14 15# RUN: llvm-symbolizer --obj=%t 0 4 0xc | FileCheck %s -check-prefix SYMBOL 16 17# SYMBOL: foo 18# SYMBOL-NEXT: ??:0:0 19# SYMBOL-EMPTY: 20# SYMBOL: foo 21# SYMBOL-NEXT: ??:0:0 22# SYMBOL-EMPTY: 23# SYMBOL: foo 24# SYMBOL-NEXT: ??:0:0 25 26.globl foo 27foo: 28 .long 32 29 nop 30 nop 31 .long 42 32