git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254436
91177308-0d34-0410-b5e6-
96231b3b80d8
Linker(Module *M);
Module *getModule() const { return Composite; }
- void deleteModule();
/// \brief Link \p Src into the composite. The source is destroyed.
/// Passing OverrideSymbols as true will have symbols from Src
Composite->getContext().diagnose(DI);
}) {}
-void Linker::deleteModule() {
- delete Composite;
- Composite = nullptr;
-}
-
bool Linker::linkInModule(Module *Src, unsigned Flags,
const FunctionInfoIndex *Index,
Function *FuncToImport) {