1# REQUIRES: aarch64-registered-target 2## Ignore AArch64 mapping symbols (with a prefix of $d or $x). 3 4# RUN: llvm-mc -filetype=obj -triple=aarch64 %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 9 10# MAPPING_SYM: 0000000000000000 t $d 11# MAPPING_SYM-NEXT: 000000000000000c t $d 12# MAPPING_SYM-NEXT: 0000000000000004 t $x 13# MAPPING_SYM-NEXT: 0000000000000000 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 .global foo 27foo: 28 .word 32 29 nop 30 nop 31 .word 42 32