Skip to content

Commit 53d49aa

Browse files
committed
Use UBSAN_OPTIONS
1 parent 5bc492b commit 53d49aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/reusable-ubsan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
sudo ./llvm.sh 20
3636
- name: UBSAN option setup
3737
run: |
38-
echo "UBSAN_OPTIONS=log_path=${GITHUB_WORKSPACE}/ubsan_log" >> "$GITHUB_ENV"
39-
echo "CC=clang -fno-sanitize-recover=all" >> "$GITHUB_ENV"
38+
echo "UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1:log_path=${GITHUB_WORKSPACE}/ubsan_log" >> "$GITHUB_ENV"
39+
echo "CC=clang" >> "$GITHUB_ENV"
4040
echo "CXX=clang++" >> "$GITHUB_ENV"
4141
- name: Add ccache to PATH
4242
run: |

0 commit comments

Comments
 (0)