xref: /llvm-project/llvm/test/DebugInfo/X86/eh-frame-truncated.s (revision 2569787e44595d31942da2bb5558931351929e57)
1## Check we report a proper error when the content
2## of the .eh_frame section is truncated.
3
4# RUN: llvm-mc -triple x86_64 %s -filetype=obj -o %t
5# RUN: not llvm-dwarfdump -debug-frame %t 2>&1 | FileCheck %s
6
7# CHECK: error: unexpected end of data at offset 0x4
8
9.section .eh_frame,"a",@unwind
10.long 0xFF ## Length
11