Use LLVMDIBuilderFinalize
This commit is contained in:
parent
832fcfb64f
commit
cd2af2dd9a
3 changed files with 3 additions and 7 deletions
|
@ -1715,6 +1715,8 @@ unsafe extern "C" {
|
|||
unsafe extern "C" {
|
||||
pub(crate) fn LLVMCreateDIBuilder<'ll>(M: &'ll Module) -> *mut DIBuilder<'ll>;
|
||||
pub(crate) fn LLVMDisposeDIBuilder<'ll>(Builder: ptr::NonNull<DIBuilder<'ll>>);
|
||||
|
||||
pub(crate) fn LLVMDIBuilderFinalize<'ll>(Builder: &DIBuilder<'ll>);
|
||||
}
|
||||
|
||||
#[link(name = "llvm-wrapper", kind = "static")]
|
||||
|
@ -1984,8 +1986,6 @@ unsafe extern "C" {
|
|||
ValueLen: size_t,
|
||||
);
|
||||
|
||||
pub fn LLVMRustDIBuilderFinalize(Builder: &DIBuilder<'_>);
|
||||
|
||||
pub fn LLVMRustDIBuilderCreateCompileUnit<'a>(
|
||||
Builder: &DIBuilder<'a>,
|
||||
Lang: c_uint,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue