diff options
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
| -rw-r--r-- | src/rustllvm/RustWrapper.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/rustllvm/RustWrapper.cpp b/src/rustllvm/RustWrapper.cpp index 22288a27624..9aca0705911 100644 --- a/src/rustllvm/RustWrapper.cpp +++ b/src/rustllvm/RustWrapper.cpp @@ -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)); +} |
