diff options
Diffstat (limited to 'test/ELF/invalid/eh-frame-hdr-no-out.s')
-rw-r--r-- | test/ELF/invalid/eh-frame-hdr-no-out.s | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ELF/invalid/eh-frame-hdr-no-out.s b/test/ELF/invalid/eh-frame-hdr-no-out.s new file mode 100644 index 0000000000000..8379253d9fd06 --- /dev/null +++ b/test/ELF/invalid/eh-frame-hdr-no-out.s @@ -0,0 +1,6 @@ +// REQUIRES: x86 +// RUN: not ld.lld --eh-frame-hdr %p/Inputs/cie-version2.elf -o %t >& %t.log +// RUN: FileCheck %s < %t.log + +// cie-version2.elf contains unsupported version of CIE = 2. +// CHECK: FDE version 1 or 3 expected, but got 2 |