diff options
Diffstat (limited to 'test/ELF/valid-cie-length-dw64.s')
-rw-r--r-- | test/ELF/valid-cie-length-dw64.s | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/ELF/valid-cie-length-dw64.s b/test/ELF/valid-cie-length-dw64.s new file mode 100644 index 000000000000..65d6952448a2 --- /dev/null +++ b/test/ELF/valid-cie-length-dw64.s @@ -0,0 +1,13 @@ +// 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 0xFFFFFFFF + .quad 1 + nop + +// CHECK-NOT: Truncated CIE/FDE length +// CHECK-NOT: CIE/FIE size is too large +// CHECK-NOT: CIE/FIE ends past the end of the section |