Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mkcl
mkcl
Commits
ef1981db
Commit
ef1981db
authored
Feb 24, 2021
by
Jean-Claude Beaudoin
Browse files
Clarify external allocation status of MK_GC_jmp_buf.
parent
1a024146
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/gc/include/private/gc_priv.h
View file @
ef1981db
...
...
@@ -2488,7 +2488,7 @@ MK_GC_INNER ptr_t MK_GC_store_debug_info(ptr_t p, word sz, const char *str,
#if defined(NEED_FIND_LIMIT) \
|| (defined(USE_PROC_FOR_LIBRARIES) && defined(THREADS))
JMP_BUF
MK_GC_jmp_buf
;
MK_GC_API
JMP_BUF
MK_GC_jmp_buf
;
/* Set up a handler for address faults which will longjmp to */
/* MK_GC_jmp_buf; */
...
...
src/gc/os_dep.c
View file @
ef1981db
...
...
@@ -529,6 +529,10 @@ MK_GC_INNER char * MK_GC_get_maps(void)
}
#endif
/* NETBSD */
#ifdef JMP_BUF
JMP_BUF
MK_GC_jmp_buf
;
/* JCB */
#endif
#ifdef OPENBSD
static
struct
sigaction
old_segv_act
;
STATIC
sigjmp_buf
MK_GC_jmp_buf_openbsd
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment