The way this test generates object file results in relocation sections for .dwo sections. This is not legal. Re-wrote it to avoid those relocation sections.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/DebugInfo/X86/dwarfdump-header.s | ||
---|---|---|
24 | Don't think there's a need to add the '.' at the start here in these labels? (leave it out like other labels above, etc?) | |
430 | That doesn't look right, does it? 0x25 would be too large an index for the .debug_str_offsets.dwo section - there are only 5 things in there, so the valid indexes should be [0, 4], I think? |
llvm/test/DebugInfo/X86/dwarfdump-header.s | ||
---|---|---|
430 | This is encoding for DW_FORM_strx1. At least this is my understanding of what is happening here looking at comments and value of original .byte |
Sounds good, thanks!
llvm/test/DebugInfo/X86/dwarfdump-header.s | ||
---|---|---|
430 | Oh, sorry - this is the abbreviation rather than the values, right right. Sorry about that. |
llvm/test/DebugInfo/X86/dwarfdump-header.s | ||
---|---|---|
24 | Ah good catch. Was following example of other test, but it's different in this one. |
Don't think there's a need to add the '.' at the start here in these labels? (leave it out like other labels above, etc?)