2018-06-27 06:20:04 +08:00
|
|
|
// REQUIRES: mips
|
2016-05-25 22:45:28 +08:00
|
|
|
// RUN: llvm-mc -filetype=obj -triple=mips64-unknown-freebsd %s -o %t.o
|
2018-07-03 01:48:23 +08:00
|
|
|
// RUN: ld.lld --eh-frame-hdr %t.o -o /dev/null | FileCheck -allow-empty %s
|
2016-05-25 22:45:28 +08:00
|
|
|
|
|
|
|
// 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
|
|
|
|
2020-02-20 13:27:13 +08:00
|
|
|
.section .eh_frame,"a",@progbits
|
2016-05-27 20:27:21 +08:00
|
|
|
.4byte 9
|
|
|
|
.4byte 0x0
|
|
|
|
.byte 0x1
|
|
|
|
.string ""
|
|
|
|
.uleb128 0x1
|
|
|
|
.sleb128 -4
|
|
|
|
.byte 0x1f
|