mirror of
https://github.com/Naios/continuable.git
synced 2025-12-07 01:06:44 +08:00
Revert "Revert "Skip asan testing when using await""
* -> "fatal error: error in backend: cannot move instruction since its users are not dominated by CoroBegin" This reverts commit eed883b0a5bdf8531943ad8afe182fa04e956a3b.
This commit is contained in:
parent
19941e774b
commit
8c8f7f98a1
@ -51,13 +51,17 @@ if [[ $CXX == *"clang"* ]]; then
|
|||||||
ASAN_OPTIONS=verbosity=1:abort_on_error=1
|
ASAN_OPTIONS=verbosity=1:abort_on_error=1
|
||||||
|
|
||||||
# Build the test suite with various sanitizers:
|
# Build the test suite with various sanitizers:
|
||||||
# - ASan (LSan):
|
if [ $WITH_AWAIT != "ON" ]; then
|
||||||
echo "Building with address sanitizer..."
|
# - ASan (LSan):
|
||||||
CMAKE_CXX_FLAGS="-fsanitize=address -fno-omit-frame-pointer"
|
echo "Building with address sanitizer..."
|
||||||
renew_build
|
CMAKE_CXX_FLAGS="-fsanitize=address -fno-omit-frame-pointer"
|
||||||
|
renew_build
|
||||||
|
|
||||||
ninja -j2
|
ninja -j2
|
||||||
ctest --verbose
|
ctest --verbose
|
||||||
|
else
|
||||||
|
echo "Skipping ASan testing because we build with coroutine support...";
|
||||||
|
fi
|
||||||
|
|
||||||
# - UBSan:
|
# - UBSan:
|
||||||
echo "Building with undefined behaviour sanitizer..."
|
echo "Building with undefined behaviour sanitizer..."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user