From 0da7b83176fbe21f7c59df87d08cde867c86eed3 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 23 Feb 2022 11:04:53 +0800 Subject: [PATCH] runtime: add nac3 exception symbols --- artiq/firmware/ksupport/api.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/artiq/firmware/ksupport/api.rs b/artiq/firmware/ksupport/api.rs index c085aa08b..06d7c1d89 100644 --- a/artiq/firmware/ksupport/api.rs +++ b/artiq/firmware/ksupport/api.rs @@ -115,6 +115,11 @@ static mut API: &'static [(&'static str, *const ())] = &[ /* exceptions */ api!(_Unwind_Resume = ::unwind::_Unwind_Resume), + api!(__nac3_personality = ::eh_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::personality), api!(__artiq_raise = ::eh_artiq::raise), api!(__artiq_resume = ::eh_artiq::resume),