Module Name: src Committed By: christos Date: Wed May 24 20:02:34 UTC 2023
Modified Files: src/tests/usr.bin/c++: t_tsan_vptr_race.sh Log Message: match the new compiler warning To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/usr.bin/c++/t_tsan_vptr_race.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/usr.bin/c++/t_tsan_vptr_race.sh diff -u src/tests/usr.bin/c++/t_tsan_vptr_race.sh:1.7 src/tests/usr.bin/c++/t_tsan_vptr_race.sh:1.8 --- src/tests/usr.bin/c++/t_tsan_vptr_race.sh:1.7 Sun Jun 12 04:55:36 2022 +++ src/tests/usr.bin/c++/t_tsan_vptr_race.sh Wed May 24 16:02:34 2023 @@ -88,7 +88,7 @@ EOF c++ -fsanitize=thread -o test test.cc paxctl +a test - atf_check -s ignore -o ignore -e match:"WARNING: ThreadSanitizer: data race on vptr \(ctor/dtor vs virtual call\)" ./test + atf_check -s ignore -o ignore -e match:"WARNING: ThreadSanitizer: data race" ./test } vptr_race_profile_body(){ @@ -119,10 +119,9 @@ int main() { return 0; } EOF - - c++ -fsanitize=thread -static -o test -pg test.cc + c++ -fsanitize=thread -o test -pg test.cc paxctl +a test - atf_check -s ignore -o ignore -e match:"WARNING: ThreadSanitizer: data race on vptr \(ctor/dtor vs virtual call\)" ./test + atf_check -s ignore -o ignore -e match:"WARNING: ThreadSanitizer: data race" ./test } vptr_race_pic_body(){ @@ -165,7 +164,7 @@ EOF paxctl +a test export LD_LIBRARY_PATH=. - atf_check -s ignore -o ignore -e match:"WARNING: ThreadSanitizer: data race on vptr \(ctor/dtor vs virtual call\)" ./test + atf_check -s ignore -o ignore -e match:"WARNING: ThreadSanitizer: data race" ./test } vptr_race_pie_body(){ @@ -202,7 +201,7 @@ EOF c++ -fsanitize=thread -o test -fpie -pie test.cc paxctl +a test - atf_check -s ignore -o ignore -e match:"WARNING: ThreadSanitizer: data race on vptr \(ctor/dtor vs virtual call\)" ./test + atf_check -s ignore -o ignore -e match:"WARNING: ThreadSanitizer: data race" ./test }