clang 20.0.0git
|
Create and return a pass that links in Moduels from a provided BackendConsumer to a given primary Module. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/LinkInModulesPass.h"
Public Member Functions | |
LinkInModulesPass (clang::BackendConsumer *BC) | |
PreservedAnalyses | run (Module &M, AnalysisManager< Module > &) |
Static Public Member Functions | |
static bool | isRequired () |
Create and return a pass that links in Moduels from a provided BackendConsumer to a given primary Module.
Note that this pass is designed for use with the legacy pass manager.
Definition at line 29 of file LinkInModulesPass.h.
LinkInModulesPass::LinkInModulesPass | ( | clang::BackendConsumer * | BC | ) |
Definition at line 23 of file LinkInModulesPass.cpp.
|
inlinestatic |
Definition at line 36 of file LinkInModulesPass.h.
PreservedAnalyses LinkInModulesPass::run | ( | Module & | M, |
AnalysisManager< Module > & | |||
) |
Definition at line 25 of file LinkInModulesPass.cpp.
References clang::BackendConsumer::LinkInModules().