summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/Core.h
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-10-01 17:14:57 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-10-01 17:14:57 +0000
commit0a4e9a3b25ceac87bede40e6b4f7cae01468a507 (patch)
tree9e5f8297fce30a8c444fb83b6860b6d0e99ebc80 /llvm/include/llvm-c/Core.h
parent5afc869f9677210c0a2c2ff8239e3a386cd7db26 (diff)
downloadbcm5719-llvm-0a4e9a3b25ceac87bede40e6b4f7cae01468a507.tar.gz
bcm5719-llvm-0a4e9a3b25ceac87bede40e6b4f7cae01468a507.zip
C API: Add LLVMCloneModule()
llvm-svn: 218775
Diffstat (limited to 'llvm/include/llvm-c/Core.h')
-rw-r--r--llvm/include/llvm-c/Core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index e5d5f3f99bd..bfbc6322902 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud