Files
clang-p2996/lld/test/ELF/invalid-cie-reference.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

33 lines
644 B
ArmAsm

// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
// RUN: not ld.lld %t -o /dev/null 2>&1 | FileCheck %s
.section .eh_frame,"a",@unwind
.long 0x14
.long 0x0
.byte 0x01
.byte 0x7a
.byte 0x52
.byte 0x00
.byte 0x01
.byte 0x78
.byte 0x10
.byte 0x01
.byte 0x1b
.byte 0x0c
.byte 0x07
.byte 0x08
.byte 0x90
.byte 0x01
.short 0x0
.long 0x14
.long 0x1b
.long .text
.long 0x0
.long 0x0
.long 0x0
// CHECK: invalid CIE reference