aboutsummaryrefslogtreecommitdiff
path: root/contrib/asan.sh
diff options
context:
space:
mode:
authorii14 <ii14@users.noreply.github.com>2023-04-22 03:27:32 +0200
committerii14 <ii14@users.noreply.github.com>2023-05-15 16:50:58 +0200
commit4cc69f45b4a56c1c0f0ac8ac15b66dffe00d4615 (patch)
tree802b847c0a63499c63141fefabcea0e3eb59092a /contrib/asan.sh
parent33687f5e87a0f048f7bc02d4658e58ef8cc0fd49 (diff)
downloadrneovim-4cc69f45b4a56c1c0f0ac8ac15b66dffe00d4615.tar.gz
rneovim-4cc69f45b4a56c1c0f0ac8ac15b66dffe00d4615.tar.bz2
rneovim-4cc69f45b4a56c1c0f0ac8ac15b66dffe00d4615.zip
build: add ubsan default options
Use print_stacktrace=1 for UBSAN by default.
Diffstat (limited to 'contrib/asan.sh')
-rwxr-xr-xcontrib/asan.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/contrib/asan.sh b/contrib/asan.sh
index baf7abb5a8..6354d65514 100755
--- a/contrib/asan.sh
+++ b/contrib/asan.sh
@@ -13,9 +13,6 @@ export CC='clang'
# Change to detect_leaks=1 to detect memory leaks (slower).
export ASAN_OPTIONS="detect_leaks=0:log_path=$log_path/asan"
-# Show backtraces in the logs.
-export UBSAN_OPTIONS="print_stacktrace=1"
-
make -C "$root_path" CMAKE_EXTRA_FLAGS="-DENABLE_ASAN_UBSAN=ON"
VIMRUNTIME="$root_path"/runtime "$root_path"/build/bin/nvim