projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
C API: Add LLVMCloneModule()
[oota-llvm.git]
/
include
/
llvm-c
/
Core.h
diff --git
a/include/llvm-c/Core.h
b/include/llvm-c/Core.h
index e5d5f3f99bd4edade9683208a547f770ae7b6306..bfbc632290254beba495b821625fcfb47e127560 100644
(file)
--- a/
include/llvm-c/Core.h
+++ b/
include/llvm-c/Core.h
@@
-560,6
+560,10
@@
LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID);
*/
LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID,
LLVMContextRef C);
+/**
+ * Return an exact copy of the specified module.
+ */
+LLVMModuleRef LLVMCloneModule(LLVMModuleRef M);
/**
* Destroy a module instance.