diff options
Diffstat (limited to 'llvm/test/tools/llvm-dwarfdump/X86/verify_invalid_str_offsets.yaml')
-rw-r--r-- | llvm/test/tools/llvm-dwarfdump/X86/verify_invalid_str_offsets.yaml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/llvm/test/tools/llvm-dwarfdump/X86/verify_invalid_str_offsets.yaml b/llvm/test/tools/llvm-dwarfdump/X86/verify_invalid_str_offsets.yaml index 37f3763..1bdc640 100644 --- a/llvm/test/tools/llvm-dwarfdump/X86/verify_invalid_str_offsets.yaml +++ b/llvm/test/tools/llvm-dwarfdump/X86/verify_invalid_str_offsets.yaml @@ -13,7 +13,7 @@ # CHECK-NEXT: error: .debug_str_offsets: contribution 0x29: length exceeds available space (contribution offset (0x29) + length field space (0x4) + length (0x5000000) == 0x500002D > section size 0x30) # Errors detected. -# V4: error: .debug_str_offsets: contribution 0x0: index 0x2: invalid string offset *0x8 == 0x2, is neither zero nor immediately following a null character +# V4: error: .debug_str_offsets.dwo: contribution 0x0: index 0x2: invalid string offset *0x8 == 0x2, is neither zero nor immediately following a null character #--- v4.yaml @@ -23,16 +23,17 @@ FileHeader: Data: ELFDATA2LSB Type: ET_EXEC DWARF: - debug_str: - - 'foo' - - 'bar' - debug_info: - - Version: 4 - AddrSize: 4 Sections: - - Name: '.debug_str_offsets' + - Name: '.debug_info.dwo' + Type: SHT_PROGBITS + Content: "0700000004000000000004" + - Name: '.debug_str_offsets.dwo' Type: SHT_PROGBITS Content: "000000000400000002000000" + - Name: 'debug_str.dwo' + Type: SHT_PROGBITS + Content: "666F6F0062617200" + #--- v5.yaml --- !ELF |