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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to