[PATCH] D88045: [lld-macho] minimally handle option -dynamic

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 14:35:19 PDT 2020


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


================
Comment at: lld/MachO/Driver.cpp:527
   config->allLoad = args.hasArg(OPT_all_load);
+  if (auto *arg = args.getLastArg(OPT_static, OPT_dynamic))
+    config->staticLink = (arg->getOption().getID() == OPT_static);
----------------
avoid `auto`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88045



More information about the llvm-commits mailing list