[LLVMbugs] [Bug 9927] New: crash in objc++ codegen

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 16 04:40:47 PDT 2011


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

           Summary: crash in objc++ codegen
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


clang crashes in

--------------------
class allocator {
};
class basic_string     {
struct _Alloc_hider : allocator       {
char* _M_p;
};
_Alloc_hider _M_dataplus;
};
@implementation
CrashReporterUI -(void)awakeFromNib {
}
-(void)showCrashUI:(const basic_string&)dumpfile   {
}
@end
----------------------

$ clang -cc1 -emit-llvm-only crashreporter_osx.mii

Assertion failed: (CurOffs <= CurLayObj->first), function
getObjCEncodingForStructureImpl

-- 
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