[PATCH] D120490: lld: Enable new passmanager plugin support for LTO
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 23 20:53:05 PDT 2022
MaskRay added inline comments.
================
Comment at: lld/ELF/LTO.cpp:147
c.UseNewPM = config->ltoNewPassManager;
+ for (const llvm::StringRef &PluginFN : config->passPlugins)
+ c.PassPlugins.push_back(std::string(PluginFN));
----------------
MaskRay wrote:
>
Not done: `StringRef` instead of `StringRef &`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120490/new/
https://reviews.llvm.org/D120490
More information about the llvm-commits
mailing list