Change ModuleLinker to take a set of GlobalValues to import instead of a single one
[oota-llvm.git] / include / llvm / Linker / Linker.h
index 38fa5562f300c6e2997d34c204a2379233536c61..7c24eef741110b219950aed37a8e5ace8eb00d2f 100644 (file)
@@ -82,7 +82,7 @@ public:
   /// Returns true on error.
   bool linkInModule(Module &Src, unsigned Flags = Flags::None,
                     const FunctionInfoIndex *Index = nullptr,
-                    Function *FuncToImport = nullptr);
+                    DenseSet<const GlobalValue *> *FuncToImport = nullptr);
 
   static bool linkModules(Module &Dest, Module &Src,
                           DiagnosticHandlerFunction DiagnosticHandler,