Re: [lldb-dev] Rust support in LLDB, again

2019-10-21 Thread Greg Clayton via lldb-dev
> On Oct 20, 2019, at 5:30 PM, Vadim Chugunov wrote: > > On Fri, Oct 18, 2019 at 10:17 AM Greg Clayton > wrote: > Yeah this is a tough tradeoff as this is what GDB does or at least did the > last time I was working on it. In most debuggers, they make up their own >

Re: [lldb-dev] Rust support in LLDB, again

2019-10-20 Thread Vadim Chugunov via lldb-dev
On Fri, Oct 18, 2019 at 10:17 AM Greg Clayton wrote: > Yeah this is a tough tradeoff as this is what GDB does or at least did the > last time I was working on it. In most debuggers, they make up their own > internal type representation, and have a generic LALR recursive descent > parser to evalua

Re: [lldb-dev] Rust support in LLDB, again

2019-10-18 Thread Greg Clayton via lldb-dev
> On Oct 17, 2019, at 11:42 PM, Vadim Chugunov wrote: > > Hi Greg, > > So if Rust doesn't use clang in its compiler > - create a new TypeSystem for Rust that would convert DWARF into Rust AST > types that are native to your Rust compiler that uses as much of the Rust > compiler sources as po

Re: [lldb-dev] Rust support in LLDB, again

2019-10-17 Thread Vadim Chugunov via lldb-dev
Hi Greg, So if Rust doesn't use clang in its compiler > - create a new TypeSystem for Rust that would convert DWARF into Rust AST > types that are native to your Rust compiler that uses as much of the Rust > compiler sources as possible > - write a native Rust expression parser which hopefully use

Re: [lldb-dev] Rust support in LLDB, again

2019-10-17 Thread Greg Clayton via lldb-dev
> On Sep 28, 2019, at 4:00 PM, Vadim Chugunov via lldb-dev > wrote: > > Hi, > Last year there was an effort led by Tom Tromey to add Rust language support > into LLDB. He had implemented a fairly complete language plugin, however it > was not accepted into mainline because of supportability

Re: [lldb-dev] Rust support in LLDB, again

2019-10-01 Thread Jim Ingham via lldb-dev
> On Oct 1, 2019, at 11:54 AM, Vadim Chugunov via lldb-dev > wrote: > > > Unless my memory is failing me, I don't think we ever explicitly > > rejected Rust's language plugin. We removed a few other language > > plugins (Go, Java) that were not maintained and were becoming an > > increasing bu

Re: [lldb-dev] Rust support in LLDB, again

2019-10-01 Thread Vadim Chugunov via lldb-dev
> > > Unless my memory is failing me, I don't think we ever explicitly > > rejected Rust's language plugin. We removed a few other language > > plugins (Go, Java) that were not maintained and were becoming an > > increasing burden on the community. At the same time we agreed that we > > didn't want

Re: [lldb-dev] Rust support in LLDB, again

2019-10-01 Thread Pavel Labath via lldb-dev
+1 to everything that Jonas said. On 30/09/2019 18:28, Jonas Devlieghere via lldb-dev wrote: Hi Vadim, On Sat, Sep 28, 2019 at 4:00 PM Vadim Chugunov via lldb-dev wrote: Hi, Last year there was an effort led by Tom Tromey to add Rust language support into LLDB. He had implemented a fairly

Re: [lldb-dev] Rust support in LLDB, again

2019-09-30 Thread Jonas Devlieghere via lldb-dev
Hi Vadim, On Sat, Sep 28, 2019 at 4:00 PM Vadim Chugunov via lldb-dev wrote: > > Hi, > Last year there was an effort led by Tom Tromey to add Rust language support > into LLDB. He had implemented a fairly complete language plugin, however it > was not accepted into mainline because of supporta

[lldb-dev] Rust support in LLDB, again

2019-09-28 Thread Vadim Chugunov via lldb-dev
Hi, Last year there was an effort led by Tom Tromey to add Rust language support into LLDB. He had implemented a fairly complete language plugin, however it was not accepted into mainline because of supportability concerns.I guess these concerns had some merit, because this change did not surv