9#ifndef LLVM_LINKER_LINKER_H
10#define LLVM_LINKER_LINKER_H
46 InternalizeCallback = {});
48 static bool linkModules(Module &Dest, std::unique_ptr<Module> Src,
50 std::function<
void(Module &,
const StringSet<> &)>
51 InternalizeCallback = {});
Machine Check Debug Module
StringSet - A set-like wrapper for the StringMap.
This class provides the core functionality of linking in LLVM.
bool linkInModule(std::unique_ptr< Module > Src, unsigned Flags=Flags::None, std::function< void(Module &, const StringSet<> &)> InternalizeCallback={})
Link Src into the composite.
static bool linkModules(Module &Dest, std::unique_ptr< Module > Src, unsigned Flags=Flags::None, std::function< void(Module &, const StringSet<> &)> InternalizeCallback={})
This function links two modules together, with the resulting Dest module modified to be the composite...
A Module instance is used to store all the information related to an LLVM module.
StringSet - A wrapper for StringMap that provides set-like functionality.
This is an optimization pass for GlobalISel generic memory operations.