aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/invalid-cie-length2.s
blob: 9140280ba5a7ee04f317fd0991ba49520ea82f41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// REQUIRES: x86

// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
// RUN: not ld.lld %t -o %t2 2>&1 | FileCheck %s

.section .eh_frame
.long 42

// CHECK:      error: corrupted .eh_frame: CIE/FDE ends past the end of the section
// CHECK-NEXT: >>> defined in {{.*}}:(.eh_frame+0x0)