[test] Pre-commit llvm.experimental.memset.pattern tests prior to MemoryLocation...
[llvm-project.git] / llvm / test / DebugInfo / Symbolize / ELF / riscv-temporary-symbol.s
blob0b54f104ab953e0b4a9e0d2742ba1d47f044a9be
1 # REQUIRES: riscv-registered-target
2 ## Ignore .L0 symbols that are generated by LLVM integrated assembler and GNU
3 ## assembler for .debug_line/.eh_frame related assembler directives.
5 # RUN: llvm-mc -filetype=obj -triple=riscv64 %s -o %t
6 # RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYM
8 # SYM: 0000000000000004 0 NOTYPE LOCAL DEFAULT [[#]] .L0 {{$}}
9 # SYM: 0000000000000000 0 NOTYPE GLOBAL DEFAULT [[#]] foo
11 ## Make sure we test at an address larger than or equal to an empty name symbol.
12 # RUN: llvm-symbolizer --obj=%t 0 4 | FileCheck %s
14 # CHECK: foo
15 # CHECK-NEXT: ??:0:0
16 # CHECK-EMPTY:
17 # CHECK-NEXT: foo
18 # CHECK-NEXT: ??:0:0
20 .globl foo
21 foo:
22 nop
23 .file 1 "/tmp" "a.s"
24 .loc 1 1 0
25 nop
27 .section .debug_line,"",@progbits