Revert "Support for ThinLTO function importing and symbol linking."
[oota-llvm.git] / include / llvm / Bitcode / ReaderWriter.h
index 5f1c7200468c5818175f9af229154314b14aa7f2..3308084fbd8b727d2de7efd38afa6c9a70211e45 100644 (file)
@@ -64,8 +64,6 @@ namespace llvm {
                           DiagnosticHandlerFunction DiagnosticHandler);
 
   /// Parse the specified bitcode buffer, returning the function info index.
-  /// If ExportingModule is true, check for functions in the index from this
-  /// module when the combined index is built during parsing and set flag.
   /// If IsLazy is true, parse the entire function summary into
   /// the index. Otherwise skip the function summary section, and only create
   /// an index object with a map from function name to function summary offset.
@@ -73,7 +71,6 @@ namespace llvm {
   ErrorOr<std::unique_ptr<FunctionInfoIndex>>
   getFunctionInfoIndex(MemoryBufferRef Buffer, LLVMContext &Context,
                        DiagnosticHandlerFunction DiagnosticHandler,
-                       const Module *ExportingModule = nullptr,
                        bool IsLazy = false);
 
   /// This method supports lazy reading of function summary data from the