X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustc_llvm%2Flib.rs;h=ebb0caa0dfae22a2bfa04f8b5b95c0a91a580187;hb=cef0d0f9a88e241423c30ae89a0f66aade257391;hp=50539f35b7461b2619c25fc2a4aa3eb2bc95057b;hpb=0442be8e1c5d64e694bf220cf42ee531293b321c;p=rust.git diff --git a/src/librustc_llvm/lib.rs b/src/librustc_llvm/lib.rs index 50539f35b74..ebb0caa0dfa 100644 --- a/src/librustc_llvm/lib.rs +++ b/src/librustc_llvm/lib.rs @@ -616,6 +616,7 @@ pub fn LLVMModuleCreateWithNameInContext(ModuleID: *const c_char, C: ContextRef) -> ModuleRef; pub fn LLVMGetModuleContext(M: ModuleRef) -> ContextRef; + pub fn LLVMCloneModule(M: ModuleRef) -> ModuleRef; pub fn LLVMDisposeModule(M: ModuleRef); /// Data layout. See Module::getDataLayout.