File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed
Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -50,15 +50,6 @@ extern BOOL (WINAPI *hSymRefreshModuleList)(HANDLE);
5050// list of modules being deserialized with __init__ methods
5151jl_array_t * jl_module_init_order ;
5252
53- #ifdef JL_ASAN_ENABLED
54- JL_DLLEXPORT const char * __asan_default_options () {
55- return "allow_user_segv_handler=1:detect_leaks=0" ;
56- // FIXME: enable LSAN after fixing leaks & defining __lsan_default_suppressions(),
57- // or defining __lsan_default_options = exitcode=0 once publicly available
58- // (here and in flisp/flmain.c)
59- }
60- #endif
61-
6253size_t jl_page_size ;
6354
6455void jl_init_stack_limits (int ismaster , void * * stack_lo , void * * stack_hi )
Original file line number Diff line number Diff line change 2121
2222#include "uv.h"
2323#include "../src/julia.h"
24+ #include "../src/options.h"
2425#include "../src/julia_assert.h"
2526
2627JULIA_DEFINE_FAST_TLS ()
@@ -29,6 +30,15 @@ JULIA_DEFINE_FAST_TLS()
2930extern "C" {
3031#endif
3132
33+ #ifdef JL_ASAN_ENABLED
34+ JL_DLLEXPORT const char * __asan_default_options () {
35+ return "allow_user_segv_handler=1:detect_leaks=0" ;
36+ // FIXME: enable LSAN after fixing leaks & defining __lsan_default_suppressions(),
37+ // or defining __lsan_default_options = exitcode=0 once publicly available
38+ // (here and in flisp/flmain.c)
39+ }
40+ #endif
41+
3242static int exec_program (char * program )
3343{
3444 JL_TRY {
You can’t perform that action at this time.
0 commit comments