[lldb-dev] Adding D language demangling support

2016-09-21 Thread Johan Engelen via lldb-dev
Hi all, I recently looked into adding demangling support for D in LLDB, but got lost in the code. (right now, basic D support is there with: https://reviews.llvm.org/D24794) I'd like some pointers to where demangling is done for the other languages, and to where I should add D support for it. T

Re: [lldb-dev] Adding D language demangling support

2016-09-22 Thread Johan Engelen via lldb-dev
t; can't demangle. > > > > > > > > > > > > > > > > On Sep 21, 2016, at 3:00 PM, Timothee Cour > wrote: > > > > > > > > Is there a way to provide a hook (eg, via an extern(C) function, or > using a dynamically loaded

Re: [lldb-dev] Adding D language demangling support

2016-09-26 Thread Johan Engelen via lldb-dev
> > Bottomline: this scheme is very flexible, and it'd be no less useful > than current situation, where lldb just returns the symbol unchanged if it > can't demangle. > > > > > > > > > > > > > > > > > > >

[lldb-dev] Display of reference parameters

2017-08-27 Thread Johan Engelen via lldb-dev
Hi all, Consider this code: ``` void foo(int& x) { ++x; // Breakpoint } ``` Reference parameter `x` is shown like this: ``` (lldb) frame variable (int &) x = 0x7fff5fbff5e8 (&x = 33) ``` Should this perhaps be improved? (I find the "&x = 33" a little confusing) Some ideas: A.(int