[LLVMbugs] [Bug 19519] New: MS ABI: adjustor vs vtordisp thunk emitted

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 22 22:11:03 PDT 2014


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

            Bug ID: 19519
           Summary: MS ABI: adjustor vs vtordisp thunk emitted
           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 f();
  virtual void g();
};
struct B : virtual A {
  virtual void f();
  B();
};
struct C : virtual A {
  virtual void g();
};
struct D : B, C {};

D d;

.obj: offset 4 in vftable const D::`vftable' has mismatch: [thunk]:public:
virtual void __thiscall C::g`adjustor{4}' (void) vs [thunk]:public: virtual
void __thiscall C::g`vtordisp{4294967292,4}' (void)

-- 
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/20140423/5b5d4f70/attachment.html>


More information about the llvm-bugs mailing list