termux-packages/packages/uftrace/libmcount-wrap.c.patch
2019-08-28 15:17:34 +03:00

21 lines
504 B
Diff

+++ ./libmcount/wrap.c 2019-08-26 04:38:48.830364663 +0300
@@ -324,7 +324,8 @@
real_cxa_rethrow();
}
-__visible_default void _Unwind_Resume(void *exception)
+void __real__Unwind_Resume(void *exception);
+__visible_default void __wrap__Unwind_Resume(void *exception)
{
struct mcount_thread_data *mtdp;
@@ -345,7 +346,7 @@
mcount_rstack_restore(mtdp);
}
- real_unwind_resume(exception);
+ __real__Unwind_Resume(exception);
}
__visible_default void * __cxa_begin_catch(void *exception)