Changes in directory llvm/include/llvm/Transforms/Utils:
Cloning.h updated: 1.18 -> 1.19 --- Log message: Add a CloneModule call that exposes the mapping of values from the old module to the new module. Patch provided by Nick Lewycky! --- Diffs of the changes: (+1 -0) Cloning.h | 1 + 1 files changed, 1 insertion(+) Index: llvm/include/llvm/Transforms/Utils/Cloning.h diff -u llvm/include/llvm/Transforms/Utils/Cloning.h:1.18 llvm/include/llvm/Transforms/Utils/Cloning.h:1.19 --- llvm/include/llvm/Transforms/Utils/Cloning.h:1.18 Sat Jan 14 14:05:06 2006 +++ llvm/include/llvm/Transforms/Utils/Cloning.h Wed May 17 13:05:35 2006 @@ -37,6 +37,7 @@ /// CloneModule - Return an exact copy of the specified module /// Module *CloneModule(const Module *M); +Module *CloneModule(const Module *M, std::map<const Value*, Value*> &ValueMap); /// ClonedCodeInfo - This struct can be used to capture information about code /// being cloned, while it is being cloned. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits