xref: /llvm-project-15.0.7/lld/test/ELF/corrupted-version-reference.s (revision 40a9f225)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: mips
2# RUN: llvm-mc -triple=mips64-unknown-freebsd %s -filetype=obj -o %t.o
3# RUN: not ld.lld %t.o %S/Inputs/corrupt-version-reference.so -o /dev/null 2>&1 | FileCheck %s
4
5# CHECK: error: corrupt input file: version definition index 9 for symbol __cxa_finalize is out of bounds
6# CHECK: >>> defined in {{.+}}/corrupt-version-reference.so
7
8# CHECK:      error: corrupt input file: version definition index 0 for symbol _Jv_RegisterClasses is out of bounds
9# CHECK-NEXT: >>> defined in {{.*}}/corrupt-version-reference.so
10
11.globl __start
12__start:
13    dla $a0, __cxa_finalize
14    nop
15

served by {OpenGrok

Last Index Update: Tue Oct 21 18:42:31 GMT 2025