diff options
Diffstat (limited to 'include/llvm/Linker/Linker.h')
-rw-r--r-- | include/llvm/Linker/Linker.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/llvm/Linker/Linker.h b/include/llvm/Linker/Linker.h index dde3f73..2b051e6 100644 --- a/include/llvm/Linker/Linker.h +++ b/include/llvm/Linker/Linker.h @@ -67,10 +67,9 @@ public: DenseMap<unsigned, MDNode *> *ValIDToTempMDMap); }; -/// Create a new module with exported local functions renamed and promoted -/// for ThinLTO. -std::unique_ptr<Module> renameModuleForThinLTO(std::unique_ptr<Module> M, - const FunctionInfoIndex *Index); +/// Perform in-place global value handling on the given Module for +/// exported local functions renamed and promoted for ThinLTO. +bool renameModuleForThinLTO(Module &M, const FunctionInfoIndex *Index); } // End llvm namespace |