[llvm-dev] debug_rnglists status
via llvm-dev
llvm-dev at lists.llvm.org
Thu Jul 12 10:07:36 PDT 2018
Hi Victor!
I am just about to commit https://reviews.llvm.org/D49214, the first implementation of .debug_rnglists. As you can probably see from the review it generates the v5 range list table with range list entries using primarily the DW_RLE_start_length and DW_RLE_offset_pair entry kinds (and DW_RLE_end_of_list and DW_RLE_base_address). So what is currently missing is the following:
- Support for split DWARF. I think this requires first support for .debug_addr, because we need to generate at least DW_RLE_base_addressx entries (or the CU needs to set its DW_AT_low_pc referencing the .debug_addr section). If that's in place we can generate all the *x entry kinds (DW_RLE_startx_endx etc.)
- Generating the offset table and using DW_FORM_rnglistx with the DW_AT_ranges attribute. This should cut down further on the relocations the linker needs to perform.
Also, I am currently working on a refactor of the .debug_rnglists dumper (reader) part. The rationale is that the location list table in .debug_loclists is identical in layout to the range list table, and so I want to take advantage of that.
Let me know if you have any more questions.
Cheers,
Wolfgang
> -----Original Message-----
> From: Victor Leschuk [mailto:vleschuk at accesssoftek.com]
> Sent: Thursday, July 12, 2018 2:24 AM
> To: Pieb, Wolfgang; LLVM Dev
> Cc: aprantl at apple.com; David Blaikie
> Subject: debug_rnglists status
>
> Hello Wolfgang and team,
>
> I see that you are working on support of .debug_rnglists, I am
> interested in the feature too, could you please point me out what else
> left to be done so that I could help you?
>
> --
> Best Regards,
>
> Victor Leschuk | Software Engineer | Access Softek
>
More information about the llvm-dev
mailing list