[LLVMbugs] [Bug 21064] New: MS ABI: Assertion failed: CXXInfo->BaseOffsets.count(Base) && "Did not find base!"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 24 23:16:14 PDT 2014


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

            Bug ID: 21064
           Summary: MS ABI: Assertion failed:
                    CXXInfo->BaseOffsets.count(Base) && "Did not find
                    base!"
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            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 __declspec(dllexport) ClassName0 {};
struct __declspec(dllexport) ClassName1 : virtual ClassName0 {
  virtual void f();
};
struct __declspec(dllexport) ClassName2 : virtual ClassName0 {
};
struct __declspec(dllexport) ClassName3 : virtual ClassName1 {
};
struct __declspec(dllexport) ClassName4 : virtual ClassName2,
                                          virtual ClassName0,
                                          virtual ClassName3 {
};

compile with:
~/llvm/Release+Asserts/bin/clang++ -cc1 -x c++ t.cpp -triple i686-pc-win32
-fms-compatibility -fno-rtti -emit-obj -w -o -

-- 
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/20140925/50ca032c/attachment.html>


More information about the llvm-bugs mailing list