diff options
author | ii14 <ii14@users.noreply.github.com> | 2023-04-22 03:27:32 +0200 |
---|---|---|
committer | ii14 <ii14@users.noreply.github.com> | 2023-05-15 16:50:58 +0200 |
commit | 4cc69f45b4a56c1c0f0ac8ac15b66dffe00d4615 (patch) | |
tree | 802b847c0a63499c63141fefabcea0e3eb59092a /contrib | |
parent | 33687f5e87a0f048f7bc02d4658e58ef8cc0fd49 (diff) | |
download | rneovim-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')
-rwxr-xr-x | contrib/asan.sh | 3 | ||||
-rw-r--r-- | contrib/flake.nix | 1 |
2 files changed, 0 insertions, 4 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 diff --git a/contrib/flake.nix b/contrib/flake.nix index d38d1fd2b7..59d977b748 100644 --- a/contrib/flake.nix +++ b/contrib/flake.nix @@ -106,7 +106,6 @@ # ASAN_OPTIONS=detect_leaks=1 export ASAN_OPTIONS="log_path=./test.log:abort_on_error=1" - export UBSAN_OPTIONS=print_stacktrace=1 # for treesitter functionaltests mkdir -p runtime/parser |