[LLVMbugs] [Bug 19471] New: MS ABI: wrong layout of vftable, mismatched size

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 17 16:11:52 PDT 2014


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

            Bug ID: 19471
           Summary: MS ABI: wrong layout of vftable, mismatched size
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            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 B {
  virtual void BMethod() {}
};
struct C : virtual B {
  virtual void CMethod() {}
};
struct D : C {};
struct E : C, D {};
struct F : D, virtual E {
  virtual void FMethod() {}
};
F a;


.obj: vftable for ??_7F@@6BC@@D@@@ has mismatched size: 1 (msvc) vs 2 (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/20140417/30cf50a3/attachment.html>


More information about the llvm-bugs mailing list