mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
debuginfo: Wrapped namespace facilities of llvm::DIBuilder
This commit is contained in:
parent
917d3c28b6
commit
382cb500be
@ -2109,6 +2109,14 @@ pub mod llvm {
|
||||
ArgNo: c_uint)
|
||||
-> ValueRef;
|
||||
|
||||
#[fast_ffi]
|
||||
pub fn LLVMDIBuilderCreateNameSpace(Builder: DIBuilderRef,
|
||||
Scope: ValueRef,
|
||||
Name: *c_char,
|
||||
File: ValueRef,
|
||||
LineNo: c_uint)
|
||||
-> ValueRef;
|
||||
|
||||
#[fast_ffi]
|
||||
pub fn LLVMIsAArgument(value_ref: ValueRef) -> ValueRef;
|
||||
|
||||
|
@ -727,9 +727,9 @@ extern "C" LLVMValueRef LLVMDIBuilderCreateTemplateTypeParameter(
|
||||
LLVMValueRef Scope,
|
||||
const char* Name,
|
||||
LLVMValueRef Ty,
|
||||
LLVMValueRef File = 0,
|
||||
unsigned LineNo = 0,
|
||||
unsigned ColumnNo = 0)
|
||||
LLVMValueRef File,
|
||||
unsigned LineNo,
|
||||
unsigned ColumnNo)
|
||||
{
|
||||
return wrap(Builder->createTemplateTypeParameter(
|
||||
unwrapDI<DIDescriptor>(Scope),
|
||||
@ -775,3 +775,17 @@ extern "C" LLVMValueRef LLVMDIBuilderCreateComplexVariable(
|
||||
ArgNo
|
||||
));
|
||||
}
|
||||
|
||||
extern "C" LLVMValueRef LLVMDIBuilderCreateNameSpace(
|
||||
DIBuilderRef Builder,
|
||||
LLVMValueRef Scope,
|
||||
const char* Name,
|
||||
LLVMValueRef File,
|
||||
unsigned LineNo)
|
||||
{
|
||||
return wrap(Builder->createNameSpace(
|
||||
unwrapDI<DIDescriptor>(Scope),
|
||||
Name,
|
||||
unwrapDI<DIFile>(File),
|
||||
LineNo));
|
||||
}
|
||||
|
@ -611,6 +611,7 @@ LLVMDIBuilderCreateTemplateTypeParameter
|
||||
LLVMDIBuilderCreateOpDeref
|
||||
LLVMDIBuilderCreateOpPlus
|
||||
LLVMDIBuilderCreateComplexVariable
|
||||
LLVMDIBuilderCreateNameSpace
|
||||
LLVMSetUnnamedAddr
|
||||
LLVMRustAddPass
|
||||
LLVMRustAddAnalysisPasses
|
||||
|
Loading…
Reference in New Issue
Block a user