[llvm-branch-commits] [clang] [Clang] Load pass plugins before parsing LLVM options (PR #171868)
Alexis Engelke via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Dec 15 08:57:47 PST 2025
================
@@ -474,8 +475,11 @@ class CodeGenOptions : public CodeGenOptionsBase {
std::vector<std::string> DefaultFunctionAttrs;
- /// List of dynamic shared object files to be loaded as pass plugins.
- std::vector<std::string> PassPlugins;
+ /// List of dynamic shared object file names to be loaded as pass plugins.
+ std::vector<std::string> PassPluginNames;
+
+ /// List of loaded pass plugins.
+ std::vector<llvm::PassPlugin *> PassPlugins;
----------------
aengelke wrote:
Moved to CompilerInstance. (I was taking the lead from PassBuilderCallbacks, which is also not a value type, but good to know that this is the outlier.)
https://github.com/llvm/llvm-project/pull/171868
More information about the llvm-branch-commits
mailing list