[PATCH] [lld][ELF] Make AtomLayout more accessible.

Michael Spencer bigcheesegs at gmail.com
Mon Jan 28 17:15:32 PST 2013


Hi shankarke, khemant,

This is needed to allow constant time access to the final layout of atoms. For instance, runtime relocations can store the atom layout instead of just a atom and reference. This removes the need to lookup the atom and the end of the link while writing the relocation section.

http://llvm-reviews.chandlerc.com/D340

Files:
  lib/ReaderWriter/ELF/DefaultELFLayout.h
  lib/ReaderWriter/ELF/ELFChunk.h
  lib/ReaderWriter/ELF/ELFLayout.h
  lib/ReaderWriter/ELF/ELFSectionChunks.h
  lib/ReaderWriter/ELF/WriterELF.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D340.1.patch
Type: text/x-patch
Size: 17081 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130128/4a20a1ea/attachment.bin>


More information about the llvm-commits mailing list