Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/kokoro
diff options
context:
space:
mode:
authorSteven Perron <stevenperron@google.com>2020-04-29 04:54:08 +0300
committerGitHub <noreply@github.com>2020-04-29 04:54:08 +0300
commit49ca250b44c633ba7cb8897002e62781a451421c (patch)
treec6f9c035bfa5c2ca3962da3a21a44a1818b16644 /kokoro
parentd0a87194f7b9a3b7659e837b08cd404ccc8af222 (diff)
Delete nullptr in function bb list immedietly (#3326)
When moving blocks around, we ended up with a nullptr for a basic block, and it was left in the list for a little bit. However, in that time, it would end up being dereferenced while traversing the function. To fix this, we delete it right away. This was found in an asan build that runs our current tests. No new tests are needed, but I did add extra check asan checks for our asan bot.
Diffstat (limited to 'kokoro')
-rw-r--r--kokoro/scripts/linux/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kokoro/scripts/linux/build.sh b/kokoro/scripts/linux/build.sh
index f7b0fe149..8fb7bddde 100644
--- a/kokoro/scripts/linux/build.sh
+++ b/kokoro/scripts/linux/build.sh
@@ -46,7 +46,7 @@ fi
ADDITIONAL_CMAKE_FLAGS=""
if [ $CONFIG = "ASAN" ]
then
- ADDITIONAL_CMAKE_FLAGS="SPIRV_USE_SANITIZER=address"
+ ADDITIONAL_CMAKE_FLAGS="SPIRV_USE_SANITIZER=address,bounds,null"
[ $COMPILER = "clang" ] || { echo "$CONFIG requires clang"; exit 1; }
elif [ $CONFIG = "COVERAGE" ]
then