mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 11:26:37 +00:00
build(ci): let ASAN print tracebacks for more errors (SIGABORT, SIGILL)
This commit is contained in:
@@ -70,8 +70,8 @@ Create a directory to store logs:
|
||||
|
||||
Configure the sanitizer(s) via these environment variables:
|
||||
|
||||
# Change to detect_leaks=1 to detect memory leaks (slower).
|
||||
export ASAN_OPTIONS="detect_leaks=0:log_path=$HOME/logs/asan"
|
||||
# Change to detect_leaks=1 to detect memory leaks (slower, noisier).
|
||||
export ASAN_OPTIONS="detect_leaks=0:log_path=$HOME/logs/asan,handle_abort=1,handle_sigill=1"
|
||||
# Show backtraces in the logs.
|
||||
export UBSAN_OPTIONS=print_stacktrace=1
|
||||
export MSAN_OPTIONS="log_path=${HOME}/logs/msan"
|
||||
|
Reference in New Issue
Block a user