[test] Pre-commit llvm.experimental.memset.pattern tests prior to MemoryLocation...
[llvm-project.git] / llvm / test / DebugInfo / Symbolize / ELF / csky-mapping-symbol.s
blob609b5e7e01b6144bf970e2a5b6365eda307d2cd1
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
7 ## addresses.
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
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 .globl foo
27 foo:
28 .long 32
29 nop
30 nop
31 .long 42