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

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 13 19:26:14 PDT 2015


> 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.

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

Thanks,
Rafael


More information about the llvm-commits mailing list