Re: [lldb-dev] LLDB expressions confused by overloading

2015-11-13 Thread Aidan Dodds via lldb-dev
Hi Greg, It turns out that the problem I was having was fixed when I patched a bug in DwarfSymbolFile: http://reviews.llvm.org/D14538 But thanks for the additional info. Aidan On 12/11/2015 17:54, Greg Clayton wrote: On Nov 5, 2015, at 9:43 AM, Aidan Dodds via lldb-dev wrote: I believe

Re: [lldb-dev] LLDB expressions confused by overloading

2015-11-12 Thread Greg Clayton via lldb-dev
> On Nov 5, 2015, at 9:43 AM, Aidan Dodds via lldb-dev > wrote: > > I believe I have tracked down an interesting bug which related to LLDBs > expression parser. > > In my target program I have a math library, a shared object which makes use > of clangs __attribute__((overloadable)) extension

Re: [lldb-dev] LLDB expressions confused by overloading

2015-11-06 Thread Siva Chandra via lldb-dev
Note that my patch is C++ specific. You might want to try by commenting out the C++ check. Also, since in your case something (though wrong) is actually found, you will have to change the ordering of tries in ClangExpressionDeclMap::GetFunctionAddress. On Fri, Nov 6, 2015 at 3:12 AM, Aidan Dodds

Re: [lldb-dev] LLDB expressions confused by overloading

2015-11-06 Thread Aidan Dodds via lldb-dev
Thanks Siva, This indeed looks somewhat related to the problems we are seeing here. I'm just having a read of your patch now and going to try it out here. On 05/11/2015 18:24, Siva Chandra wrote: On Thu, Nov 5, 2015 at 9:43 AM, Aidan Dodds via lldb-dev wrote: I believe I have tracked down an i

Re: [lldb-dev] LLDB expressions confused by overloading

2015-11-05 Thread Siva Chandra via lldb-dev
On Thu, Nov 5, 2015 at 9:43 AM, Aidan Dodds via lldb-dev wrote: > I believe I have tracked down an interesting bug which related to LLDBs > expression parser. > > In my target program I have a math library, a shared object which makes use > of clangs __attribute__((overloadable)) extension for C99