xref: /llvm-project/llvm/test/DebugInfo/X86/eh-frame-invalid-version-zero.s (revision 7a3e664db5761e27a3cf7d67580f43470f927624)
1## Check we do not support .eh_frame sections of version 0.
2
3# RUN: llvm-mc -triple x86_64-unknown-linux %s -filetype=obj -o %t
4# RUN: llvm-dwarfdump -debug-frame %t 2>&1 | FileCheck %s
5
6# CHECK: unsupported CIE version
7
8.section .eh_frame,"a",@unwind
9 .long .Lend - .LCIEptr ## Length
10.LCIEptr:
11 .long 0x00000000       ## CIE ID
12 .byte 0                ## Version
13.Lend:
14