summaryrefslogtreecommitdiff
path: root/test/ELF/no-augmentation.s
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-07-23 20:48:50 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-07-23 20:48:50 +0000
commit1c98619801a5705c688e683be3ef9d70169a0686 (patch)
tree8422105cd1a94c368315f2db16b9ac746cf7c000 /test/ELF/no-augmentation.s
parentf4f3ce4613680903220815690ad79fc7ba0a2e26 (diff)
downloadsrc-test2-1c98619801a5705c688e683be3ef9d70169a0686.tar.gz
src-test2-1c98619801a5705c688e683be3ef9d70169a0686.zip
Notes
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