Skip to content

🐡 Inflate __cxa_throw/rethrow unwind instructions #1

@kammce

Description

@kammce

We currently unwind manually by looking at the disassembly and unwinding manually in the code. If the code changes, this would break the manual unwinding. We can save on cycles by searching for and caching the location of the __cxa_throw and __cxa_rethrow table entries on system boot up. That way the system can benefit from faster unwinding throughout the duration of the application. On ARM Cortex M, this would cost 8 bytes total for the two pointers.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions