X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=include%2Fllvm%2FLinker%2FLinker.h;h=3a6df80aa38d18136f4bedbf64a38f9652dea65e;hp=679e60582e807a01c11402c2438ee6b8a1146049;hb=3d95431a332d216e7fe7bdc0f0024072121d5d04;hpb=fb81c7b828fe82e7c0d400675dfdac6f77895fcd diff --git a/include/llvm/Linker/Linker.h b/include/llvm/Linker/Linker.h index 679e60582e8..3a6df80aa38 100644 --- a/include/llvm/Linker/Linker.h +++ b/include/llvm/Linker/Linker.h @@ -14,7 +14,6 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseSet.h" #include "llvm/IR/DiagnosticInfo.h" -#include "llvm/IR/FunctionInfo.h" namespace llvm { class Module; @@ -77,13 +76,8 @@ public: /// \brief Link \p Src into the composite. The source is destroyed. /// Passing OverrideSymbols as true will have symbols from Src /// shadow those in the Dest. - /// For ThinLTO function importing/exporting the \p FunctionInfoIndex - /// is passed. If a \p FuncToImport is provided, only that single - /// function is imported from the source module. /// Returns true on error. - bool linkInModule(Module *Src, unsigned Flags = Flags::None, - FunctionInfoIndex *Index = nullptr, - Function *FuncToImport = nullptr); + bool linkInModule(Module *Src, unsigned Flags = Flags::None); /// \brief Set the composite to the passed-in module. void setModule(Module *Dst);