C API: Add LLVMCloneModule()

llvm-svn: 218775
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index e5d5f3f..bfbc632 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/include/llvm-c/Core.h
@@ -560,6 +560,10 @@
  */
 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID,
                                                 LLVMContextRef C);
+/**
+ * Return an exact copy of the specified module.
+ */
+LLVMModuleRef LLVMCloneModule(LLVMModuleRef M);
 
 /**
  * Destroy a module instance.