File tree Expand file tree Collapse file tree 3 files changed +26
-3
lines changed
Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Original file line number Diff line number Diff line change @@ -2109,6 +2109,14 @@ pub mod llvm {
21092109 ArgNo : c_uint )
21102110 -> ValueRef ;
21112111
2112+ #[ fast_ffi]
2113+ pub fn LLVMDIBuilderCreateNameSpace ( Builder : DIBuilderRef ,
2114+ Scope : ValueRef ,
2115+ Name : * c_char ,
2116+ File : ValueRef ,
2117+ LineNo : c_uint )
2118+ -> ValueRef ;
2119+
21122120 #[ fast_ffi]
21132121 pub fn LLVMIsAArgument ( value_ref : ValueRef ) -> ValueRef ;
21142122
Original file line number Diff line number Diff line change @@ -727,9 +727,9 @@ extern "C" LLVMValueRef LLVMDIBuilderCreateTemplateTypeParameter(
727727 LLVMValueRef Scope,
728728 const char * Name,
729729 LLVMValueRef Ty,
730- LLVMValueRef File = 0 ,
731- unsigned LineNo = 0 ,
732- unsigned ColumnNo = 0 )
730+ LLVMValueRef File,
731+ unsigned LineNo,
732+ unsigned ColumnNo)
733733{
734734 return wrap (Builder->createTemplateTypeParameter (
735735 unwrapDI<DIDescriptor>(Scope),
@@ -775,3 +775,17 @@ extern "C" LLVMValueRef LLVMDIBuilderCreateComplexVariable(
775775 ArgNo
776776 ));
777777}
778+
779+ extern " C" LLVMValueRef LLVMDIBuilderCreateNameSpace (
780+ DIBuilderRef Builder,
781+ LLVMValueRef Scope,
782+ const char * Name,
783+ LLVMValueRef File,
784+ unsigned LineNo)
785+ {
786+ return wrap (Builder->createNameSpace (
787+ unwrapDI<DIDescriptor>(Scope),
788+ Name,
789+ unwrapDI<DIFile>(File),
790+ LineNo));
791+ }
Original file line number Diff line number Diff line change @@ -611,6 +611,7 @@ LLVMDIBuilderCreateTemplateTypeParameter
611611LLVMDIBuilderCreateOpDeref
612612LLVMDIBuilderCreateOpPlus
613613LLVMDIBuilderCreateComplexVariable
614+ LLVMDIBuilderCreateNameSpace
614615LLVMSetUnnamedAddr
615616LLVMRustAddPass
616617LLVMRustAddAnalysisPasses
You can’t perform that action at this time.
0 commit comments