You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
miri can be used to debug small programs at the MIR-level. It detects many cases of undefined behaviour. There's also cargo miri which runs miri on all #[test] functions in the library or in the test directory.
I think a lot of upstream work needs to funnel into gdb and lldb, I'm constantly running into papercuts using them.
Things like expression evaluation off a bit, setting a breakpoint on a not-fully-qualified function name (and dealing with the hash), etc. I'll try to jot them down as I run into them so that I have something more concrete here.
Activity
oli-obk commentedon May 17, 2017
miri can be used to debug small programs at the MIR-level. It detects many cases of undefined behaviour. There's also
cargo miriwhich runs miri on all#[test]functions in the library or in the test directory.Manishearth commentedon May 17, 2017
I and tromey maintain the gdb rust integration. I would like to work on lldb Rust, but I won't have time till stylo is over.
fitzgen commentedon May 17, 2017
I think a lot of upstream work needs to funnel into gdb and lldb, I'm constantly running into papercuts using them.
Things like expression evaluation off a bit, setting a breakpoint on a not-fully-qualified function name (and dealing with the hash), etc. I'll try to jot them down as I run into them so that I have something more concrete here.
cc @tromey
Manishearth commentedon May 17, 2017
The expression evaluation stuff keeps breaking because Rust keeps changing/breaking how it does paths in debuginfo.
tromey commentedon May 17, 2017
Here's my plan: https://docs.google.com/document/d/1a2v0ro40vy3z-Np44CF-5v6THH9Huy_Dtp8-aUIdgkM/edit#heading=h.3bhlq7o1wouo
It links to the DWARF binding plan as well. This is what I want to work on, I'm just looking for the time and/or slot in Moz.
@fitzgen either file gdb bugs or just email me and I will file them for you. I work on the gdb rust bugs as time permits.
Manishearth commentedon May 17, 2017
(cc me on them. I do have time to fix things in gdb. just not to go and do big heaps of work to make lldb work)
tromey commentedon May 17, 2017
Try this instead, may only work at moz for now: https://docs.google.com/a/mozilla.com/document/d/1a2v0ro40vy3z-Np44CF-5v6THH9Huy_Dtp8-aUIdgkM/edit?usp=sharing