23 return PreservedAnalyses::all();
26 report_fatal_error(
"Bitcode module postopt linking failed, aborted!");
28 return PreservedAnalyses::none();
This file provides a pass to link in Modules from a provided BackendConsumer.
bool LinkInModules(llvm::Module *M)
PreservedAnalyses run(Module &M, AnalysisManager< Module > &)
LinkInModulesPass(clang::BackendConsumer *BC)
Diagnostic wrappers for TextAPI types for error reporting.