[PATCH] D103821: [lld/mac] Add reexports after reexporter to inputFiles

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 7 14:00:58 PDT 2021


int3 accepted this revision.
int3 added a comment.
This revision is now accepted and ready to land.

Makes sense (I think!) -- if I understand correctly, by setting the exportingFile to point to an implicitly-linked dylib, we ensure that `DylibFile::isReferenced()` returns true since the symbols are now registered as belonging to that dylib, thus making the dead dylib stripping logic in Writer.cpp work.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103821/new/

https://reviews.llvm.org/D103821



More information about the llvm-commits mailing list