diff options
author | Steven Perron <stevenperron@google.com> | 2020-04-29 04:54:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-29 04:54:08 +0300 |
commit | 49ca250b44c633ba7cb8897002e62781a451421c (patch) | |
tree | c6f9c035bfa5c2ca3962da3a21a44a1818b16644 /kokoro | |
parent | d0a87194f7b9a3b7659e837b08cd404ccc8af222 (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.sh | 2 |
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 |