-
Notifications
You must be signed in to change notification settings - Fork 8
wip: abort when throwing std::logic_error, else continue #331
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
base: main
Are you sure you want to change the base?
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
✨ Finishing touches🧪 Generate unit tests (beta)
Important Action Needed: IP Allowlist UpdateIf your organization protects your Git platform with IP whitelisting, please add the new CodeRabbit IP address to your allowlist:
Failure to add the new IP will result in interrupted reviews. Comment |
a4c5e47 to
f1a800e
Compare
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
| typedef void (*cxa_throw_type)(void *, void *, void (*) (void *)); | ||
|
|
||
| void __cxa_throw(void * exc, void * tinfo_, void (*dest)(void *)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any chance the second argument could be declared std::type_info * instead of void *? That would make the tinfo / tinfo_ distinction unnecessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That changes the mangled name in a way that doesn't match the real __cxa_throw, so unfortunately it doesn't work.
|
We're already using that for However, I'm not sure if that will redirect references in shared libraries like libstdc++. |
Motivation
Context