[PATCH] D103497: [lld/mac] Implement -reexport_framework, -reexport_library, -reexport-l

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 1 21:37:18 PDT 2021


int3 accepted this revision.
int3 added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lld/MachO/Driver.cpp:335-336
+      if (isReexport) {
+        config->hasReexports = true;
+        dylibFile->reexport = true;
+      }
----------------
How about having a setter on DylibFile that sets both `reexport` and `config->hasReexports`?

(if you do add it, `markReexport()` can use it too)


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

https://reviews.llvm.org/D103497



More information about the llvm-commits mailing list