wip: abort when throwing std::logic_error, else continue#331
wip: abort when throwing std::logic_error, else continue#331
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.
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.
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