]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #17871 : michaelwoerister/rust/lldb-versioning, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 9 Oct 2014 03:07:27 +0000 (03:07 +0000)
committerbors <bors@rust-lang.org>
Thu, 9 Oct 2014 03:07:27 +0000 (03:07 +0000)
Apart from making the build system determine the LLDB version, this PR also fixes an issue with enums in LLDB pretty printers. In order for GDB's pretty printers to know for sure if a field of some value is an enum discriminant, I had rustc mark discriminant fields with the `artificial` DWARF tag. This worked out nicely for GDB but it turns out that one can't access artificial fields from LLDB. So I changed the debuginfo representation so that enum discriminants are marked by the special field name `RUST$ENUM$DISR` instead, which works in both cases.

The PR does not activate the LLDB test suite yet.


Trivial merge