run-tests: Build the ubsan test case with -fno-sanitize-recover=all
This allows easier programmatic checking that the sanitizer actually caught the tested issue, when triggering the issue.
This commit is contained in:
1 parent
fa02f14aea
commit
332193b7ec
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -146,7 +146,7 @@ RUN cd test && \
|
||||
$arch-w64-mingw32-clang $test.c -o $arch/$test-asan.exe -fsanitize=address -g -gcodeview -Wl,-pdb,$arch/$test-asan.pdb || exit 1; \
|
||||
done; \
|
||||
for test in ubsan; do \
|
||||
$arch-w64-mingw32-clang $test.c -o $arch/$test.exe -fsanitize=undefined || exit 1; \
|
||||
$arch-w64-mingw32-clang $test.c -o $arch/$test.exe -fsanitize=undefined -fno-sanitize-recover=all || exit 1; \
|
||||
done; \
|
||||
done
|
||||
|
||||
|
||||
Reference in new issue
Block a user