[PATCH] D105922: [lld-macho] Add LTO cache support

Leonard Grey via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 13 11:23:13 PDT 2021


lgrey added inline comments.


================
Comment at: lld/MachO/Driver.cpp:1184
+  }
+  if (const Arg *arg = args.getLastArg(OPT_prune_interval_lto)) {
+    if (cachePolicyStringProvided) {
----------------
This is really awkward and repetitive but I couldn't think of a way to abstract this without making it *more* complex 🤷


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

https://reviews.llvm.org/D105922



More information about the llvm-commits mailing list