brintos

brintos / llvm-project-archived public Read only

0
0
Text · 754 B · 0b54f10 Raw
28 lines · plain
1# REQUIRES: riscv-registered-target2## Ignore .L0 symbols that are generated by LLVM integrated assembler and GNU3## assembler for .debug_line/.eh_frame related assembler directives.4 5# RUN: llvm-mc -filetype=obj -triple=riscv64 %s -o %t6# RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYM7 8# SYM: 0000000000000004  0 NOTYPE LOCAL  DEFAULT [[#]] .L0 {{$}}9# SYM: 0000000000000000  0 NOTYPE GLOBAL DEFAULT [[#]] foo10 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 %s13 14# CHECK:       foo15# CHECK-NEXT:  ??:0:016# CHECK-EMPTY:17# CHECK-NEXT:  foo18# CHECK-NEXT:  ??:0:019 20.globl foo21foo:22  nop23  .file 1 "/tmp" "a.s"24  .loc 1 1 025  nop26 27.section .debug_line,"",@progbits28