http://llvm.org/bugs/show_bug.cgi?id=19506

            Bug ID: 19506
           Summary: MS ABI: vtordisp thunk used for method in nv-base
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

consider:
struct A {
  virtual void fun1() {}
  virtual void fun2() {}
};
struct B {};
struct C : A, virtual B {
  virtual void fun2() {}
};
struct D : C {};
struct E : A, C, virtual D {
  virtual void fun1() {}
  E() {}
};
E e;

.obj: offset 4 in vftable ??_7E@@6BD@@@ has mismatch: ?fun2@C@@UAEXXZ vs
?fun2@C@@$4PPPPPPPM@A@AEXXZ

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to