2016-05-25 22:45:28 +08:00
|
|
|
// RUN: llvm-mc -filetype=obj -triple=mips64-unknown-freebsd %s -o %t.o
|
2016-05-27 20:27:21 +08:00
|
|
|
// RUN: ld.lld --eh-frame-hdr %t.o -o %t | FileCheck -allow-empty %s
|
2016-05-25 22:45:28 +08:00
|
|
|
|
|
|
|
// REQUIRES: mips
|
|
|
|
|
|
|
|
// CHECK-NOT: corrupted or unsupported CIE information
|
2016-05-25 23:14:08 +08:00
|
|
|
// CHECK-NOT: corrupted CIE
|
2016-05-25 22:45:28 +08:00
|
|
|
|
|
|
|
.global __start
|
|
|
|
__start:
|
2016-05-27 20:27:21 +08:00
|
|
|
|
|
|
|
.section .eh_frame,"aw",@progbits
|
|
|
|
.4byte 9
|
|
|
|
.4byte 0x0
|
|
|
|
.byte 0x1
|
|
|
|
.string ""
|
|
|
|
.uleb128 0x1
|
|
|
|
.sleb128 -4
|
|
|
|
.byte 0x1f
|