[PATCH] D108850: [LLD] Remove global state in lldCommon

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 27 14:57:27 PDT 2021


int3 added inline comments.


================
Comment at: lld/MachO/Driver.cpp:149
         if (fs::is_directory(buffer)) {
-          paths.push_back(saver.save(buffer.str()));
+          paths.push_back(saver(&cg).save(buffer.str()));
           found = true;
----------------
why not just `saver()`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108850



More information about the llvm-commits mailing list