llvm-project/lld/test/ELF/no-augmentation.s
Fangrui Song d6d640ebae [ELF][test] Fix section sh_type and sh_flags
A future MC change may add a warning/error when a .section directive
specifies incorrect sh_flags/sh_type.
2020-02-19 22:01:42 -08:00

19 lines
456 B
ArmAsm

// REQUIRES: mips
// RUN: llvm-mc -filetype=obj -triple=mips64-unknown-freebsd %s -o %t.o
// RUN: ld.lld --eh-frame-hdr %t.o -o /dev/null | FileCheck -allow-empty %s
// CHECK-NOT: corrupted or unsupported CIE information
// CHECK-NOT: corrupted CIE
.global __start
__start:
.section .eh_frame,"a",@progbits
.4byte 9
.4byte 0x0
.byte 0x1
.string ""
.uleb128 0x1
.sleb128 -4
.byte 0x1f