[ELF] Make section member orders consistent
[llvm-project.git] / lld / test / ELF / invalid-cie-length.s
blobd5465e854409cb0fba485792aea122aa9f842445
1 // REQUIRES: x86
3 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
4 // RUN: not ld.lld %t -o /dev/null 2>&1 | FileCheck %s
6 .section .eh_frame,"a",@unwind
7 .byte 0
9 // CHECK: error: corrupted .eh_frame: CIE/FDE too small
10 // CHECK-NEXT: >>> defined in {{.*}}:(.eh_frame+0x0)