[lld] r244972 - ELF: Drop the Chunk base class.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 13 19:32:19 PDT 2015


On Fri, Aug 14, 2015 at 11:26 AM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> > The linker creates non-section-based chunks for thunks which jump to DLL
> > functions, and we want to put such thunks to .text section along with
> other
> > regular chunks. The linker also creates data for DLL names, import
> tables,
> > etc, which we want to put into .rdata. So one type of OutputSection
> contains
> > various types of chunks.
>
> I see. Correct me if I am wrong, but COFF has no notion of a segment,
> right. Just the output sections.
>

Correct.


> If that is the case this might be another genuine case where a format
> different is reflected in the code.


I agree. I don't see any reason to make Chunk an interface for ELF yet, so
let's go ahead with this code to see how it works.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150814/3758936a/attachment.html>


More information about the llvm-commits mailing list