Skip to content
Merged
Next Next commit
Fail on new UB
  • Loading branch information
StanFromIreland committed Apr 6, 2026
commit 38ae0c129da64469e518ca9a1b233edb01d62d95
2 changes: 1 addition & 1 deletion .github/workflows/reusable-san.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
|| ''
}}.txt handle_segv=0" >> "$GITHUB_ENV"
else
echo "UBSAN_OPTIONS=${SAN_LOG_OPTION}" >> "$GITHUB_ENV"
echo "UBSAN_OPTIONS=${SAN_LOG_OPTION} halt_on_error=1 suppressions=${GITHUB_WORKSPACE}/Tools/ubsan/suppressions.txt" >> "$GITHUB_ENV"
Comment thread
StanFromIreland marked this conversation as resolved.
Comment thread
StanFromIreland marked this conversation as resolved.
fi
echo "CC=clang" >> "$GITHUB_ENV"
echo "CXX=clang++" >> "$GITHUB_ENV"
Expand Down
2 changes: 2 additions & 0 deletions Tools/ubsan/suppressions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
null:Objects/object.c
bool:Objects/memoryobject.c
Loading