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
27 .section .debug_line,"",@progbits