Brussels / 3 & 4 February 2018


LLVM, Rust, and Debugging

Debugger support for Rust is good but not great. This talk will discuss the difficulties specific to Rust, and will outline a plan to modify LLVM, LLDB, and the Rust compiler to improve the Rust debugging story.

Rust is a systems programming language that originated at Mozilla. Because Rust's type system differs from that of C++, it presents some debuginfo generation challenges to LLVM. This talk provides a brief introduction to Rust with an emphasis on these differences; outlines the Rust-specific difficulties faced by LLVM and debuggers; and proposes a plan for fixing these problems. The talk is intended to be interactive, in that feedback on the proposed plan is actively encouraged. There will also be some discussion of coordination with the DWARF standard and with gdb.


Tom Tromey