brintos

brintos / llvm-project-archived public Read only

0
0
Text · 525 B · 3eccd77 Raw
14 lines · plain
1# RUN: llvm-mc -triple x86_64-unknown-linux %s -filetype=obj -o %t.o2# RUN: llvm-dwarfdump -v %t.o | FileCheck --check-prefix=INVALIDSECTIONLENGTH %s3#4# Test object to verify that llvm-dwarfdump handles a degenerate string offsets5# section.6#7# Every unit contributes to the string_offsets table.8        .section .debug_str_offsets,"",@progbits9# A degenerate section, not enough for a single entry.10        .byte 211 12# INVALIDSECTIONLENGTH: .debug_str_offsets contents:13# INVALIDSECTIONLENGTH: 0x00000000: Gap, length = 114