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