http://llvm.org/bugs/show_bug.cgi?id=19505
Bug ID: 19505
Summary: MS ABI: vtordisp thunk emitted when none is seemingly
needed
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 fun() {}
};
struct B : A {
virtual void fun() {}
};
struct C : A, B {
virtual void gun() {}
};
struct D : B, virtual C {
D() {}
virtual void gun() {}
};
D d;
.obj: offset 0 in vftable ??_7D@@6BB@@@ has mismatch: ?fun@B@@UAEXXZ vs
?fun@B@@$4PPPPPPPI@A@AEXXZ
--
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