[PATCH] D60353: ELF: Add basic partition data structures and behaviours.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 5 19:09:56 PDT 2019


pcc created this revision.
pcc added reviewers: ruiu, grimar, peter.smith.
Herald added subscribers: MaskRay, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.

This change causes us to read partition specifications from partition
specification sections and split output sections into partitions according
to their reachability from partition entry points.

This is only the first step towards a full implementation of partitions. Later
changes will add additional synthetic sections to each partition so that
they can be loaded independently.

Depends on D60242 <https://reviews.llvm.org/D60242>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D60353

Files:
  lld/ELF/Driver.cpp
  lld/ELF/ICF.cpp
  lld/ELF/InputSection.cpp
  lld/ELF/InputSection.h
  lld/ELF/LinkerScript.cpp
  lld/ELF/MapFile.cpp
  lld/ELF/MarkLive.cpp
  lld/ELF/OutputSections.cpp
  lld/ELF/SymbolTable.cpp
  lld/ELF/Symbols.cpp
  lld/ELF/Symbols.h
  lld/ELF/SyntheticSections.cpp
  lld/ELF/SyntheticSections.h
  lld/ELF/Writer.cpp
  lld/test/ELF/partition-errors.s
  lld/test/ELF/partition-move-to-main.s
  lld/test/ELF/partitions.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60353.193996.patch
Type: text/x-patch
Size: 27911 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190406/f6607cc3/attachment.bin>


More information about the llvm-commits mailing list