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

            Bug ID: 19487
           Summary: MS ABI: vftable contents differ, vtordisp thunk vs
                    method
           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 fun() {}
};
struct B : A {
    virtual void fun() {}
};
struct C : B {};
struct D : A {};
#pragma vtordisp(2)
struct E : A, B, virtual C, virtual D {};
E _;


.obj: offset 0 in vftable ??_7E@@6BC@@@ has mismatch: ?fun@B@@UAEXXZ (msvc) vs
?fun@B@@$4PPPPPPPM@A@AEXXZ (clang)

-- 
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