On Tue, Jan 7, 2014 at 8:14 PM, Jonathan S. Shapiro <[email protected]> wrote:

> Meanwhile, targeting LLVM has the following advantages and disadvantages:
>
> Con:
> Essentially no debugging support in the near term.

I don't think that is really the case. I recall work on getting the
gdb testsuite working when (the testsuite is) compiled with clang.
Rust also uses uses the llvm ability to generate dwarf as well

While I don't know of any work on a rust expression parser for gdb and what not,
it can be used with the gdb minimal language to print variables and
set breakpoints.

https://github.com/mozilla/rust/blob/master/src/librustc/middle/trans/debuginfo.rs
http://llvm.org/docs/SourceLevelDebugging.html
http://michaelwoerister.github.io/2013/09/27/what-you-call-the-present.html

so I'm a bit curious why this ends up on the con side
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to