about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-10-09 03:07:27 +0000
committerbors <bors@rust-lang.org>2014-10-09 03:07:27 +0000
commitd569dfe37eac393509351c28db01e50e0ca323c2 (patch)
tree761cf6e3627b6053894ada01c0189eb25602a3dd /src/rustllvm/RustWrapper.cpp
parent63fe80e1ffd036e99e1c707116774ac10203e2f1 (diff)
parent98a0f9166c38d9a761a840de15a668ea001c9e9c (diff)
downloadrust-d569dfe37eac393509351c28db01e50e0ca323c2.tar.gz
rust-d569dfe37eac393509351c28db01e50e0ca323c2.zip
auto merge of #17871 : michaelwoerister/rust/lldb-versioning, r=alexcrichton
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions