about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-06-17 14:01:35 -0700
committerbors <bors@rust-lang.org>2013-06-17 14:01:35 -0700
commit4bf074cc66974143178a6add3a7c2e2196ea5a32 (patch)
tree0b57c19fce94133f8eee96f7367bfedb86f7a812 /src/test/codegen/stack-alloc-string-slice.rs
parent644774c1b15c107d8cb74c756ea69e342844a5c9 (diff)
parentadff46250ed9e9b3c31da65b2997a5458e41305a (diff)
downloadrust-4bf074cc66974143178a6add3a7c2e2196ea5a32.tar.gz
rust-4bf074cc66974143178a6add3a7c2e2196ea5a32.zip
auto merge of #7134 : vadimcn/rust/DIBuilder, r=jdm
This commit fixes rustc's debug info generation and turns debug-info tests back on.

The old generator used to write out LLVM metadata directly, however it seems that debug metadata format is not stable and keeps changing from release to release.  So I wrapped LLVM's official debug info API - the DIBuilder class, and now rustc will use that.

One bit of old functionality that still doesn't work, is debug info for function arguments.  Someone more familiar with the compiler guts will need to look into that.

Also, unfortunately, debug info is still won't work on Windows,- due to a LLVM bug (http://llvm.org/bugs/show_bug.cgi?id=16249).

Resolves issues #5836, #5848, #6814

Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions