[LLVMbugs] [Bug 19506] New: MS ABI: vtordisp thunk used for method in nv-base

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 21 23:20:36 PDT 2014


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

            Bug ID: 19506
           Summary: MS ABI: vtordisp thunk used for method in nv-base
           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 fun1() {}
  virtual void fun2() {}
};
struct B {};
struct C : A, virtual B {
  virtual void fun2() {}
};
struct D : C {};
struct E : A, C, virtual D {
  virtual void fun1() {}
  E() {}
};
E e;

.obj: offset 4 in vftable ??_7E@@6BD@@@ has mismatch: ?fun2 at C@@UAEXXZ vs
?fun2 at C@@$4PPPPPPPM at A@AEXXZ

-- 
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/20140422/c5eeb0ea/attachment.html>


More information about the llvm-bugs mailing list