[LLVMbugs] [Bug 5179] New: crash in clang++codegen (X86_64ABIInfo:: classifyArgumentType)

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Oct 13 09:14:21 PDT 2009


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

           Summary: crash in clang++codegen
                    (X86_64ABIInfo::classifyArgumentType)
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: clattner at apple.com
                CC: llvmbugs at cs.uiuc.edu, daniel at zuster.org


This crashes in X86_64ABIInfo::classifyArgumentType:
Assertion failed: ((Lo != NoClass || Hi == NoClass) && "Invalid null
classification."), function classifyArgumentType, file TargetABIInfo.cpp, line
977.


struct A
{
  bool foo(int*) const;
} a;

struct B {};

struct B1 : B {
  const A* pa;

  B1() {}
};

struct B2 : B {
  B1 b1;
  B2(const B1& _b1) : b1(_b1) {}
};

void bar(B2 b2);

void baz(const B1 &b2)
{
  bar(b2);
}


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list