comment out esan test in qualify-clang.sh as it seems esan was

removed from llvm/clang:

885b790f89
This commit is contained in:
Erik Maciejewski 2021-10-06 11:58:10 -07:00
parent adb37dff06
commit ee7a2defc1

View File

@ -1413,8 +1413,9 @@ echo "Testing all other sanitizers ..."
echo "int main() { return 1; }" > foo.c echo "int main() { return 1; }" > foo.c
# fails to run on i386 with the following error: # fails to run on i386 with the following error:
#clang: error: unsupported option '-fsanitize=efficiency-working-set' for target 'i686-pc-linux-gnu' #clang: error: unsupported option '-fsanitize=efficiency-working-set' for target 'i686-pc-linux-gnu'
clang-$VERSION -fsanitize=efficiency-working-set -o foo foo.c || true # seems like esan was removed from clang: https://github.com/llvm/llvm-project/commit/885b790f89b6068ec4caad8eaa51aa8098327059
./foo &> /dev/null || true #clang-$VERSION -fsanitize=efficiency-working-set -o foo foo.c || true
#./foo &> /dev/null || true
cat > "$TEMPDIR/test.c" <<EOF cat > "$TEMPDIR/test.c" <<EOF
#include <stdlib.h> #include <stdlib.h>