replace deprecated LLVMSetCurrentDebugLocation with LLVMSetCurrentDebugLocation2

This commit is contained in:
klensy 2023-04-02 15:20:00 +03:00
parent 7c96e40da8
commit 0b5f9ac73e
2 changed files with 2 additions and 3 deletions

View file

@ -1250,7 +1250,7 @@ extern "C" {
pub fn LLVMDisposeBuilder<'a>(Builder: &'a mut Builder<'a>);
// Metadata
pub fn LLVMSetCurrentDebugLocation<'a>(Builder: &Builder<'a>, L: &'a Value);
pub fn LLVMSetCurrentDebugLocation2<'a>(Builder: &Builder<'a>, Loc: &'a Metadata);
// Terminators
pub fn LLVMBuildRetVoid<'a>(B: &Builder<'a>) -> &'a Value;