forked from M-Labs/nac3
1
0
Fork 0

runtime: add nac3 exception symbols

This commit is contained in:
Sebastien Bourdeauducq 2022-02-23 11:05:08 +08:00
parent 90ef57f62c
commit 880ba6b206
1 changed files with 5 additions and 0 deletions

View File

@ -202,6 +202,11 @@ pub fn resolve(required: &[u8]) -> Option<u32> {
// exceptions // exceptions
api!(_Unwind_Resume = unwind::_Unwind_Resume), api!(_Unwind_Resume = unwind::_Unwind_Resume),
api!(__nac3_personality = eh_artiq::artiq_personality),
api!(__nac3_raise = eh_artiq::raise),
api!(__nac3_resume = eh_artiq::resume),
api!(__nac3_end_catch = eh_artiq::end_catch),
// legacy exception symbols
api!(__artiq_personality = eh_artiq::artiq_personality), api!(__artiq_personality = eh_artiq::artiq_personality),
api!(__artiq_raise = eh_artiq::raise), api!(__artiq_raise = eh_artiq::raise),
api!(__artiq_resume = eh_artiq::resume), api!(__artiq_resume = eh_artiq::resume),