25 : BC(BC), ShouldLinkFiles(ShouldLinkFiles) {}
29 return PreservedAnalyses::all();
32 report_fatal_error(
"Bitcode module postopt linking failed, aborted!");
34 return PreservedAnalyses::none();
Defines the clang::FileManager interface and associated types.
This file provides a pass to link in Modules from a provided BackendConsumer.
Defines the SourceManager interface.
bool LinkInModules(llvm::Module *M, bool ShouldLinkFiles=true)
PreservedAnalyses run(Module &M, AnalysisManager< Module > &)
LinkInModulesPass(clang::BackendConsumer *BC, bool ShouldLinkFiles=true)
Diagnostic wrappers for TextAPI types for error reporting.