2015-11-12 03:54:14 +08:00
|
|
|
// REQUIRES: x86
|
|
|
|
|
|
|
|
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
|
2018-07-03 01:48:23 +08:00
|
|
|
// RUN: not ld.lld %t -o /dev/null 2>&1 | FileCheck %s
|
2015-11-12 03:54:14 +08:00
|
|
|
|
2020-02-20 13:27:13 +08:00
|
|
|
.section .eh_frame,"a",@unwind
|
2017-04-01 09:42:20 +08:00
|
|
|
.long 42
|
2015-11-12 03:54:14 +08:00
|
|
|
|
2017-04-01 09:42:20 +08:00
|
|
|
// CHECK: error: corrupted .eh_frame: CIE/FDE ends past the end of the section
|
|
|
|
// CHECK-NEXT: >>> defined in {{.*}}:(.eh_frame+0x0)
|