[Lldb-commits] [lldb] r114095 - in /lldb/trunk/include/lldb: Core/Debugger.h Target/Process.h Target/Thread.h

John McCall rjmccall at apple.com
Thu Sep 16 16:23:59 PDT 2010


On Sep 16, 2010, at 4:19 PM, Benjamin Kramer wrote:
> On 17.09.2010, at 01:04, John McCall wrote:
>> On Sep 16, 2010, at 10:54 AM, Caroline Tice wrote:
>>> Okay I will work on re-doing the code so it doesn't have to do that.   For the record, the code as is works
>>> just fine on Mac OS X; I had no idea it would die so horribly on other platforms.
>> 
>> It really shouldn't die horribly on any platform, although some compilers will warn about it, particularly in the initializer lists.
> 
> It does die horribly when compiled with clang++. Maybe we have a clang bug here?

Looks like it.  That should definitely be calling B::foo(), and in fact can be devirtualized, although we can't rely on that always happening.

John.



More information about the lldb-commits mailing list