[PATCH] [ELF][Writer] Refactor Section to not have atoms. Move atoms into AtomSection.

Michael Spencer bigcheesegs at gmail.com
Tue Feb 12 17:30:56 PST 2013


Hi shankarke,

The purpose of this change is to simplify creating non-atom sections. Previously _contentType, _sectionKind and _order were used for multiple purposes and collided in places. This moves all of the Atom specific logic down into AtomSection and makes Section just have raw Elf_Shdr flags.

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

Files:
  lib/ReaderWriter/ELF/Chunk.h
  lib/ReaderWriter/ELF/DefaultLayout.h
  lib/ReaderWriter/ELF/HeaderChunks.h
  lib/ReaderWriter/ELF/Layout.h
  lib/ReaderWriter/ELF/SectionChunks.h
  lib/ReaderWriter/ELF/SegmentChunks.h
  lib/ReaderWriter/ELF/Writer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D400.1.patch
Type: text/x-patch
Size: 30347 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130212/e2f9b8fd/attachment.bin>


More information about the llvm-commits mailing list