diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:57:38 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:57:38 +0000 |
commit | 5a5c549fe9a3fef595297bd21d36bed8409dc37d (patch) | |
tree | a964c8f5ac85b7b641cac022c5f9bf4eed3d2b9b /test/ELF/valid-cie-length-dw64.s | |
parent | fb911942f1434f3d1750f83f25f5e42c80e60638 (diff) | |
download | src-test2-5a5c549fe9a3fef595297bd21d36bed8409dc37d.tar.gz src-test2-5a5c549fe9a3fef595297bd21d36bed8409dc37d.zip |
Notes
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 |