aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/no-augmentation.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/no-augmentation.s')
-rw-r--r--test/ELF/no-augmentation.s19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/ELF/no-augmentation.s b/test/ELF/no-augmentation.s
new file mode 100644
index 000000000000..31cd92e39b1c
--- /dev/null
+++ b/test/ELF/no-augmentation.s
@@ -0,0 +1,19 @@
+// RUN: llvm-mc -filetype=obj -triple=mips64-unknown-freebsd %s -o %t.o
+// RUN: ld.lld --eh-frame-hdr %t.o -o %t | FileCheck -allow-empty %s
+
+// REQUIRES: mips
+
+// CHECK-NOT: corrupted or unsupported CIE information
+// CHECK-NOT: corrupted CIE
+
+.global __start
+__start:
+
+.section .eh_frame,"aw",@progbits
+ .4byte 9
+ .4byte 0x0
+ .byte 0x1
+ .string ""
+ .uleb128 0x1
+ .sleb128 -4
+ .byte 0x1f