diff options
| author | Michael Woerister <michaelwoerister@gmail> | 2013-09-13 16:26:35 +0200 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@gmail> | 2013-09-15 12:28:25 +0200 |
| commit | ccb721a58d2973ea65e382d8af28932aa649b579 (patch) | |
| tree | 4fb423b9a0f71871b715cd01d26a17efb65deefe /src/rustllvm/RustWrapper.cpp | |
| parent | 1ce02e71448548d779413860632e07646cbc96b3 (diff) | |
| download | rust-ccb721a58d2973ea65e382d8af28932aa649b579.tar.gz rust-ccb721a58d2973ea65e382d8af28932aa649b579.zip | |
debuginfo: Added description of algorithm for handling recursive types.
Also fixed nasty bug caused by calling LLVMDIBuilderCreateStructType() with a null pointer where an empty array was expected (which would trigger an unintelligable assertion somewhere down the line).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
| -rw-r--r-- | src/rustllvm/RustWrapper.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/rustllvm/RustWrapper.cpp b/src/rustllvm/RustWrapper.cpp index 9aca0705911..63d42816207 100644 --- a/src/rustllvm/RustWrapper.cpp +++ b/src/rustllvm/RustWrapper.cpp @@ -790,29 +790,6 @@ extern "C" LLVMValueRef LLVMDIBuilderCreateNameSpace( 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) |
