[PATCH] D134058: [lld-macho] Support -dyld_env

Daniel Bertalan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 16 12:50:03 PDT 2022


BertalanD added inline comments.


================
Comment at: lld/MachO/Driver.cpp:1413
   }
+  if (const Arg *arg = args.getLastArg(OPT_dyld_env)) {
+    if (config->outputType != MH_EXECUTE)
----------------
This will ignore all but the last `-dyld_env` argument. Does ld64 let you specify it more than once?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134058



More information about the llvm-commits mailing list