[PATCH] D60307: ELF: Move verneed tracking data structures out of VersionNeedSection.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 4 22:53:15 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.

For partitions I intend to use the same set of version indexes in
each partition for simplicity. Since each partition will need its own
VersionNeedSection this will require moving the verneed tracking out of
VersionNeedSection. The way I've done this is to move most of the tracking
into SharedFile. What will eventually become the per-partition tracking
still lives in VersionNeedSection.

As a bonus the code gets a little simpler and more consistent with how we
handle verdef.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D60307

Files:
  lld/ELF/Driver.cpp
  lld/ELF/InputFiles.cpp
  lld/ELF/InputFiles.h
  lld/ELF/SyntheticSections.cpp
  lld/ELF/SyntheticSections.h
  lld/ELF/Writer.cpp
  lld/test/ELF/verneed.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60307.193835.patch
Type: text/x-patch
Size: 11690 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190405/a3f69c4b/attachment.bin>


More information about the llvm-commits mailing list