diff options
Diffstat (limited to 'test/ELF/invalid-cie-length2.s')
-rw-r--r-- | test/ELF/invalid-cie-length2.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ELF/invalid-cie-length2.s b/test/ELF/invalid-cie-length2.s new file mode 100644 index 0000000000000..94a677eb8913a --- /dev/null +++ b/test/ELF/invalid-cie-length2.s @@ -0,0 +1,9 @@ +// 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 42 + +// CHECK: CIE/FIE ends past the end of the section |