debuginfo: Support for recursive types.
This commit is contained in:
parent
206cc59f46
commit
f85da506a8
3 changed files with 416 additions and 174 deletions
|
@ -789,3 +789,33 @@ extern "C" LLVMValueRef LLVMDIBuilderCreateNameSpace(
|
|||
unwrapDI<DIFile>(File),
|
||||
LineNo));
|
||||
}
|
||||
|
||||
// extern "C" LLVMValueRef LLVMDIBuilderCreateForwardDecl(
|
||||
// DIBuilderRef Builder,
|
||||
// unsigned Tag,
|
||||
// const char* Name,
|
||||
// LLVMValueRef Scope,
|
||||
// LLVMValueRef File,
|
||||
// unsigned Line,
|
||||
// unsigned RuntimeLang,
|
||||
// uint64_t SizeInBits,
|
||||
// uint64_t AlignInBits)
|
||||
// {
|
||||
// return wrap(Builder->createForwardDecl(
|
||||
// Tag,
|
||||
// Name,
|
||||
// unwrapDI<DIDescriptor>(Scope),
|
||||
// unwrapDI<DIFile>(File),
|
||||
// Line,
|
||||
// RuntimeLang,
|
||||
// SizeInBits,
|
||||
// AlignInBits
|
||||
// ));
|
||||
// }
|
||||
|
||||
extern "C" void LLVMDICompositeTypeSetTypeArray(
|
||||
LLVMValueRef CompositeType,
|
||||
LLVMValueRef TypeArray)
|
||||
{
|
||||
unwrapDI<DICompositeType>(CompositeType).setTypeArray(unwrapDI<DIArray>(TypeArray));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue