Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.
Amanjeev Sethi edited this page May 8, 2019 · 7 revisions

Building

You should follow the upstream build instructions for lldb. These sources updated to upstream branch 8.0 can be found at: https://github.com/rust-lang/llvm-project/tree/rustc/8.0-2019-01-16

Pull Requests

Pull requests are gratefully accepted. Be sure to use the rust branch. Please include a test case if possible.

Features

On the whole the new plugin doesn't offer a lot beyond the status quo ante. Instead, its main benefit is that it unblocks future improvements to Rust debuginfo.

However, the Rust plugin does have a better understanding of Rust debuginfo than the previous approach of using the C++ plugin. In particular, Rust enum types are directly understood, and print will show the active variant.

Also, the expression parser now uses Rust syntax.

Upstreaming

See this message for some information on how LLDB expects upstreaming to occur. At some point I hope to push this work upstream, but given this message I don't expect it to be any time soon.

Clone this wiki locally