projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ThinLTO] Use new in-place symbol changes for exporting module
[oota-llvm.git]
/
include
/
llvm
/
Linker
/
Linker.h
diff --git
a/include/llvm/Linker/Linker.h
b/include/llvm/Linker/Linker.h
index f09cf1029a4be123645d4d47882d6cf6fed9d5f2..2b051e6d15c944ab516f6505037667b568788c44 100644
(file)
--- a/
include/llvm/Linker/Linker.h
+++ b/
include/llvm/Linker/Linker.h
@@
-69,8
+69,7
@@
public:
/// Perform in-place global value handling on the given Module for
/// exported local functions renamed and promoted for ThinLTO.
/// 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
} // End llvm namespace