1## The test checks that llvm-dwarfdump can handle a malformed input file without 2## crashing. 3 4# RUN: llvm-mc -triple x86_64 %s -filetype=obj -o %t 5# RUN: not llvm-dwarfdump -debug-rnglists %t 2>&1 | FileCheck %s 6 7# CHECK: error: .debug_rnglists table at offset 0x0 has too small length (0x4) to contain a complete header 8 9## An assertion used to trigger in the debug build of the DebugInfo/DWARF 10## library if the unit length field in a range list table was 0. 11 .section .debug_rnglists,"",@progbits 12 .long 0 13