Revert "Support for ThinLTO function importing and symbol linking."
[oota-llvm.git] / include / llvm / Object / FunctionIndexObjectFile.h
index 12057447f5c3f3d2f8ddd3f2cacc993de16ddbf3..08eff540c94824e224169b960cdfa0c96e556d9d 100644 (file)
@@ -18,7 +18,6 @@
 
 namespace llvm {
 class FunctionInfoIndex;
-class Module;
 
 namespace object {
 class ObjectFile;
@@ -85,8 +84,7 @@ public:
   /// Return new FunctionIndexObjectFile instance containing parsed function
   /// summary/index.
   static ErrorOr<std::unique_ptr<FunctionIndexObjectFile>>
-  create(MemoryBufferRef Object, LLVMContext &Context,
-         const Module *ExportingModule = nullptr, bool IsLazy = false);
+  create(MemoryBufferRef Object, LLVMContext &Context, bool IsLazy = false);
 
   /// \brief Parse the function summary information for function with the
   /// given name out of the given buffer. Parsed information is