[ThinLTO] Use new in-place symbol changes for exporting module
[oota-llvm.git] / include / llvm / Linker / Linker.h
index f09cf1029a4be123645d4d47882d6cf6fed9d5f2..2b051e6d15c944ab516f6505037667b568788c44 100644 (file)
@@ -69,8 +69,7 @@ public:
 
 /// Perform in-place global value handling on the given Module for
 /// exported local functions renamed and promoted for ThinLTO.
-std::unique_ptr<Module> renameModuleForThinLTO(std::unique_ptr<Module> M,
-                                               const FunctionInfoIndex *Index);
+bool renameModuleForThinLTO(Module &M, const FunctionInfoIndex *Index);
 
 } // End llvm namespace