[LLVMbugs] [Bug 19487] New: MS ABI: vftable contents differ, vtordisp thunk vs method

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 18 23:54:55 PDT 2014


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: unassignedclangbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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 at B@@UAEXXZ (msvc) vs
?fun at B@@$4PPPPPPPM at A@AEXXZ (clang)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140419/967b791b/attachment.html>


More information about the llvm-bugs mailing list