[lldb-dev] Supporting new source languages
bruce.mitchener at gmail.com
Thu Jan 16 08:10:12 PST 2014
On Thu, Jan 16, 2014 at 11:04 PM, Michael Woerister <
michaelwoerister at posteo.de> wrote:
> Nobody care to comment? Let me elaborate a bit on my reasons for asking.
> Since last summer I've been working on debuginfo generation for the Rust
> compiler (www.rust-lang.org). As the Rust compiler is LLVM based this
> worked out pretty well and we produce DWARF good enough to satisfy basic
> debugging needs. However, obviously debuggers don't recognize Rust yet and
> print out values in the wrong syntax among other things. Some of this can
> be alleviated with Python extensions in LLDB and GDB, but the information
> available through those APIs seems to be limited (eg. it seems hard get
> modifiers, such as 'const' or 'volatile'). Also it would be great to allow
> for parsing Rust expressions in the debugger, call functions, in short:
> make Rust a first-class citizen of the given debugger. I'm currently trying
> to find out what the possibilities in this area are.
> GDB seems to have a story for supporting new source languages but for LLDB
> I couldn't find anything about the topic yet. It would be great if somebody
> could elaborate on this, even if only saying "not a goal for LLDB" or "too
> early to ask for something like this".
This is something that we'll be interested in as well in the Dylan (
http://opendylan.org) community sometime in 2014 once we get our LLVM
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev