zig/deps/lld/test/ELF/invalid-cie-length2.s

11 lines
303 B
ArmAsm
Raw Normal View History

// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
2018-08-05 05:47:16 +08:00
// RUN: not ld.lld %t -o /dev/null 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)