-
Notifications
You must be signed in to change notification settings - Fork 6
Home
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 are gratefully accepted. Be sure to use the rust
branch. Please include a test case if possible.
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.
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.