]> git.lizzy.rs Git - rust.git/commit
debuginfo: Added description of algorithm for handling recursive types.
authorMichael Woerister <michaelwoerister@gmail>
Fri, 13 Sep 2013 14:26:35 +0000 (16:26 +0200)
committerMichael Woerister <michaelwoerister@gmail>
Sun, 15 Sep 2013 10:28:25 +0000 (12:28 +0200)
commitccb721a58d2973ea65e382d8af28932aa649b579
tree4fb423b9a0f71871b715cd01d26a17efb65deefe
parent1ce02e71448548d779413860632e07646cbc96b3
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).
src/librustc/middle/trans/debuginfo.rs
src/rustllvm/RustWrapper.cpp
src/test/debug-info/recursive-struct.rs
src/test/debug-info/trait-pointers.rs