[test] Pre-commit llvm.experimental.memset.pattern tests prior to MemoryLocation...
[llvm-project.git] / llvm / test / DebugInfo / Symbolize / ELF / aarch64-mapping-symbol.s
blob6990a82c4acfe4bbbf146f5c71ad8484bfe9d800
1 # REQUIRES: aarch64-registered-target
2 ## Ignore AArch64 mapping symbols (with a prefix of $d or $x).
4 # RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t
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
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
15 # RUN: llvm-symbolizer --obj=%t 0 4 0xc | FileCheck %s -check-prefix SYMBOL
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
26 .global foo
27 foo:
28 .word 32
29 nop
30 nop
31 .word 42