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

Benjamin Kramer benny.kra at googlemail.com
Thu Sep 16 16:19:15 PDT 2010

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?


class A {
  A(int) {}
  virtual int foo() = 0;

class B : public A {
  B() : A(foo()) {}
  virtual int foo() { return 42; }

int main() {
  B b;

More information about the lldb-commits mailing list