summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/invalid-cie-length.s
blob: 7e73dd8aa5d3c04b0286892f5e813e9f63a2866d (plain)
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 /dev/null 2>&1 | FileCheck %s

.section .eh_frame
.byte 0

// CHECK:      error: corrupted .eh_frame: CIE/FDE too small
// CHECK-NEXT: >>> defined in {{.*}}:(.eh_frame+0x0)
OpenPOWER on IntegriCloud