Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash in objc++ codegen #10299

Closed
llvmbot opened this issue May 16, 2011 · 3 comments
Closed

crash in objc++ codegen #10299

llvmbot opened this issue May 16, 2011 · 3 comments
Labels
bugzilla Issues migrated from bugzilla c++

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented May 16, 2011

Bugzilla Link 9927
Resolution FIXED
Resolved on May 16, 2011 09:58
Version unspecified
OS All
Reporter LLVM Bugzilla Contributor
CC @DougGregor,@nico

Extended Description

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

@llvmbot
Copy link
Collaborator Author

llvmbot commented May 16, 2011

Fixed in 131401.

@nico
Copy link
Contributor

nico commented May 16, 2011

*** Bug llvm/llvm-bugzilla-archive#9929 has been marked as a duplicate of this bug. ***

@nico
Copy link
Contributor

nico commented Nov 27, 2021

mentioned in issue llvm/llvm-bugzilla-archive#9929

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla c++
Projects
None yet
Development

No branches or pull requests

2 participants