brintos

brintos / llvm-project-archived public Read only

0
0
Text · 790 B · 6990a82 Raw
32 lines · plain
1# REQUIRES: aarch64-registered-target2## Ignore AArch64 mapping symbols (with a prefix of $d or $x).3 4# RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t5 6## Verify that mapping symbols are actually present in the object at expected7## addresses.8# RUN: llvm-nm --special-syms %t | FileCheck %s -check-prefix MAPPING_SYM9 10# MAPPING_SYM:      0000000000000000 t $d11# MAPPING_SYM-NEXT: 000000000000000c t $d12# MAPPING_SYM-NEXT: 0000000000000004 t $x13# MAPPING_SYM-NEXT: 0000000000000000 T foo14 15# RUN: llvm-symbolizer --obj=%t 0 4 0xc | FileCheck %s -check-prefix SYMBOL16 17# SYMBOL:      foo18# SYMBOL-NEXT: ??:0:019# SYMBOL-EMPTY:20# SYMBOL:      foo21# SYMBOL-NEXT: ??:0:022# SYMBOL-EMPTY:23# SYMBOL:      foo24# SYMBOL-NEXT: ??:0:025 26    .global foo27foo:28    .word 3229    nop30    nop31    .word 4232