This patch adds test cases for the DWARF64 .debug_addr section.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This LGTM. A minor suggestion is inline.
llvm/test/tools/yaml2obj/ELF/DWARF/debug-addr.yaml | ||
---|---|---|
384 | At first I wanted to write that 0xffffffff is not a length, but a special mark, but |
Comment Actions
I'm afraid D81541 is going to be very large and bring difficulty to reviewers. I can merge this patch to that one.
llvm/test/tools/yaml2obj/ELF/DWARF/debug-addr.yaml | ||
---|---|---|
384 | I have discussed it with @jhenderson in D81063. Does it make sense here? |
llvm/test/tools/yaml2obj/ELF/DWARF/debug-addr.yaml | ||
---|---|---|
384 | I think it is not harmfull to mention it briefly: a1) unit_length (DWARF64, 12-byte, starts from 0xffffffff) I have no strong opinion on this. |
At first I wanted to write that 0xffffffff is not a length, but a special mark, but
DWARF spec says "an initial length field is 12 bytes in size", so this seems fine.
Perhaps I'd mention that 0xffffffff is a special part though.