[Alignment][NFC] Instructions::getLoadStoreAlignment
[llvm-complete.git] / test / DebugInfo / X86 / dwarfdump-str-offsets-invalid-5.s
blob718b0f5b672cecc2449e4da4f7d697c661f417e1
1 # RUN: llvm-mc -triple x86_64-unknown-linux %s -filetype=obj -o %t.o
2 # RUN: llvm-dwarfdump -v %t.o | FileCheck --check-prefix=INVALIDSECTIONLENGTH %s
4 # Test object to verify that llvm-dwarfdump handles a degenerate string offsets
5 # section.
7 # Every unit contributes to the string_offsets table.
8 .section .debug_str_offsets,"",@progbits
9 # A degenerate section, not enough for a single entry.
10 .byte 2
12 # INVALIDSECTIONLENGTH: .debug_str_offsets contents:
13 # INVALIDSECTIONLENGTH-NOT: contents:
14 # INVALIDSECTIONLENGTH: error: size of .debug_str_offsets is not a multiple of 4.