[PATCH] D31464: [ELF] - Stop producing broken entries in .debug_ranges section

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 29 11:22:49 PDT 2017


Given the desire for DWARF to mostly be linker agnostic (or perhaps more
accurately, the desire from the DWARF committee to not require linkers to
be DWARF aware (for the most part - gdb_index being a notable exception)) I
think this sort of entry is desired or at least must be acceptable, given
the limitations of linkers, etc. I could be wrong, though.

On Wed, Mar 29, 2017 at 11:18 AM George Rimar <grimar at accesssoftek.com>
wrote:

> >I don't really follow - why is the gold/current lld behavior
> insufficient? By writing the addend as the relocation ({0, 6}, for example)
> for the end of the range, it doesn't >prematurely terminate the range list.
>
> Yes, it doesn't terminate list.
> But isn't such entry is incorrect ? I supposed it is wrong to have such
> entries because they have wrong begin/end address.
> If that is not a problem, we can leave them as is.
>
> George.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170329/d4b80f85/attachment.html>


More information about the llvm-commits mailing list