mirror of
https://github.com/TinyCC/tinycc.git
synced 2025-11-16 12:34:45 +00:00
bcheck: remove "tcc_location()" & x86_64 double fix
using (modified) tcc_backtrace() instead. Also Also fix the original bug with doubles on x86_64. (which was not caused by incr_offset() actually). See598134fff6Also cleanup on_exit() stuff Fromfef701b57f
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
#include "../tccrun.c"
|
||||
|
||||
int (*__rt_error)(void*, void*, const char *, va_list);
|
||||
void (*__rt_location)(void*, void*, const char *);
|
||||
__attribute__((weak)) void __bound_checking_lock(void);
|
||||
__attribute__((weak)) void __bound_checking_unlock(void);
|
||||
|
||||
@@ -34,7 +33,6 @@ void __bt_init(rt_context *p, int num_callers)
|
||||
rc->num_callers = num_callers - 1;
|
||||
rc->top_func = main;
|
||||
__rt_error = _rt_error;
|
||||
__rt_location = _rt_location;
|
||||
set_exception_handler();
|
||||
} else {
|
||||
p->next = rc->next, rc->next = p;
|
||||
|
||||
Reference in New Issue
Block a user