@@ -1925,16 +1925,16 @@ pub mod llvm {
1925
1925
1926
1926
1927
1927
#[ fast_ffi]
1928
- pub unsafe fn DIBuilder_new ( M : ModuleRef ) -> DIBuilderRef ;
1928
+ pub unsafe fn LLVMDIBuilderCreate ( M : ModuleRef ) -> DIBuilderRef ;
1929
1929
1930
1930
#[ fast_ffi]
1931
- pub unsafe fn DIBuilder_delete ( Builder : DIBuilderRef ) ;
1931
+ pub unsafe fn LLVMDIBuilderDispose ( Builder : DIBuilderRef ) ;
1932
1932
1933
1933
#[ fast_ffi]
1934
- pub unsafe fn DIBuilder_finalize ( Builder : DIBuilderRef ) ;
1934
+ pub unsafe fn LLVMDIBuilderFinalize ( Builder : DIBuilderRef ) ;
1935
1935
1936
1936
#[ fast_ffi]
1937
- pub unsafe fn DIBuilder_createCompileUnit (
1937
+ pub unsafe fn LLVMDIBuilderCreateCompileUnit (
1938
1938
Builder : DIBuilderRef ,
1939
1939
Lang : c_uint ,
1940
1940
File : * c_char ,
@@ -1946,19 +1946,19 @@ pub mod llvm {
1946
1946
SplitName : * c_char ) ;
1947
1947
1948
1948
#[ fast_ffi]
1949
- pub unsafe fn DIBuilder_createFile (
1949
+ pub unsafe fn LLVMDIBuilderCreateFile (
1950
1950
Builder : DIBuilderRef ,
1951
1951
Filename : * c_char ,
1952
1952
Directory : * c_char ) -> DIFile ;
1953
1953
1954
1954
#[ fast_ffi]
1955
- pub unsafe fn DIBuilder_createSubroutineType (
1955
+ pub unsafe fn LLVMDIBuilderCreateSubroutineType (
1956
1956
Builder : DIBuilderRef ,
1957
1957
File : DIFile ,
1958
1958
ParameterTypes : DIArray ) -> DICompositeType ;
1959
1959
1960
1960
#[ fast_ffi]
1961
- pub unsafe fn DIBuilder_createFunction (
1961
+ pub unsafe fn LLVMDIBuilderCreateFunction (
1962
1962
Builder : DIBuilderRef ,
1963
1963
Scope : DIDescriptor ,
1964
1964
Name : * c_char ,
@@ -1976,23 +1976,23 @@ pub mod llvm {
1976
1976
Decl : ValueRef ) -> DISubprogram ;
1977
1977
1978
1978
#[ fast_ffi]
1979
- pub unsafe fn DIBuilder_createBasicType (
1979
+ pub unsafe fn LLVMDIBuilderCreateBasicType (
1980
1980
Builder : DIBuilderRef ,
1981
1981
Name : * c_char ,
1982
1982
SizeInBits : c_ulonglong ,
1983
1983
AlignInBits : c_ulonglong ,
1984
1984
Encoding : c_uint ) -> DIBasicType ;
1985
1985
1986
1986
#[ fast_ffi]
1987
- pub unsafe fn DIBuilder_createPointerType (
1987
+ pub unsafe fn LLVMDIBuilderCreatePointerType (
1988
1988
Builder : DIBuilderRef ,
1989
1989
PointeeTy : DIType ,
1990
1990
SizeInBits : c_ulonglong ,
1991
1991
AlignInBits : c_ulonglong ,
1992
1992
Name : * c_char ) -> DIDerivedType ;
1993
1993
1994
1994
#[ fast_ffi]
1995
- pub unsafe fn DIBuilder_createStructType (
1995
+ pub unsafe fn LLVMDIBuilderCreateStructType (
1996
1996
Builder : DIBuilderRef ,
1997
1997
Scope : DIDescriptor ,
1998
1998
Name : * c_char ,
@@ -2007,7 +2007,7 @@ pub mod llvm {
2007
2007
VTableHolder : ValueRef ) -> DICompositeType ;
2008
2008
2009
2009
#[ fast_ffi]
2010
- pub unsafe fn DIBuilder_createMemberType (
2010
+ pub unsafe fn LLVMDIBuilderCreateMemberType (
2011
2011
Builder : DIBuilderRef ,
2012
2012
Scope : DIDescriptor ,
2013
2013
Name : * c_char ,
@@ -2020,15 +2020,15 @@ pub mod llvm {
2020
2020
Ty : DIType ) -> DIDerivedType ;
2021
2021
2022
2022
#[ fast_ffi]
2023
- pub unsafe fn DIBuilder_createLexicalBlock (
2023
+ pub unsafe fn LLVMDIBuilderCreateLexicalBlock (
2024
2024
Builder : DIBuilderRef ,
2025
2025
Scope : DIDescriptor ,
2026
2026
File : DIFile ,
2027
2027
Line : c_uint ,
2028
2028
Col : c_uint ) -> DILexicalBlock ;
2029
2029
2030
2030
#[ fast_ffi]
2031
- pub unsafe fn DIBuilder_createLocalVariable (
2031
+ pub unsafe fn LLVMDIBuilderCreateLocalVariable (
2032
2032
Builder : DIBuilderRef ,
2033
2033
Tag : c_uint ,
2034
2034
Scope : DIDescriptor ,
@@ -2041,31 +2041,38 @@ pub mod llvm {
2041
2041
ArgNo : c_uint ) -> DIVariable ;
2042
2042
2043
2043
#[ fast_ffi]
2044
- pub unsafe fn DIBuilder_createVectorType (
2044
+ pub unsafe fn LLVMDIBuilderCreateVectorType (
2045
2045
Builder : DIBuilderRef ,
2046
2046
Size : c_ulonglong ,
2047
2047
AlignInBits : c_ulonglong ,
2048
2048
Ty : DIType ,
2049
2049
Subscripts : DIArray ) -> DIType ;
2050
2050
2051
2051
#[ fast_ffi]
2052
- pub unsafe fn DIBuilder_getOrCreateSubrange (
2052
+ pub unsafe fn LLVMDIBuilderGetOrCreateSubrange (
2053
2053
Builder : DIBuilderRef ,
2054
2054
Lo : c_longlong ,
2055
2055
Count : c_longlong ) -> DISubrange ;
2056
2056
2057
2057
#[ fast_ffi]
2058
- pub unsafe fn DIBuilder_getOrCreateArray (
2058
+ pub unsafe fn LLVMDIBuilderGetOrCreateArray (
2059
2059
Builder : DIBuilderRef ,
2060
2060
Ptr : * DIDescriptor ,
2061
2061
Count : c_uint ) -> DIArray ;
2062
2062
2063
2063
#[ fast_ffi]
2064
- pub unsafe fn DIBuilder_insertDeclare (
2064
+ pub unsafe fn LLVMDIBuilderInsertDeclareAtEnd (
2065
2065
Builder : DIBuilderRef ,
2066
2066
Val : ValueRef ,
2067
2067
VarInfo : DIVariable ,
2068
- InsertBefore : * c_void ) -> * c_void ;
2068
+ InsertAtEnd : BasicBlockRef ) -> ValueRef ;
2069
+
2070
+ #[ fast_ffi]
2071
+ pub unsafe fn LLVMDIBuilderInsertDeclareBefore (
2072
+ Builder : DIBuilderRef ,
2073
+ Val : ValueRef ,
2074
+ VarInfo : DIVariable ,
2075
+ InsertBefore : ValueRef ) -> ValueRef ;
2069
2076
}
2070
2077
}
2071
2078
0 commit comments