Page MenuHomePhabricator

[Clang] Test case for -Wunused-but-set-variable, warn for volatile.
ClosedPublic

Authored by mbenfield on Jun 3 2021, 8:54 AM.

Details

Diff Detail

Unit TestsFailed

TimeTest
11,160 msx64 debian > libarcher.races::lock-unrelated.c
Script: -- : 'RUN: at line 13'; /var/lib/buildkite-agent/builds/llvm-project/build/./bin/clang -fopenmp -pthread -fno-experimental-isel -g -O1 -fsanitize=thread -I /var/lib/buildkite-agent/builds/llvm-project/openmp/tools/archer/tests -I /var/lib/buildkite-agent/builds/llvm-project/build/projects/openmp/runtime/src -L /var/lib/buildkite-agent/builds/llvm-project/build/lib -Wl,-rpath,/var/lib/buildkite-agent/builds/llvm-project/build/lib /var/lib/buildkite-agent/builds/llvm-project/openmp/tools/archer/tests/races/lock-unrelated.c -o /var/lib/buildkite-agent/builds/llvm-project/build/projects/openmp/tools/archer/tests/races/Output/lock-unrelated.c.tmp -latomic && env TSAN_OPTIONS='ignore_noninstrumented_modules=0:ignore_noninstrumented_modules=1' /var/lib/buildkite-agent/builds/llvm-project/openmp/tools/archer/tests/deflake.bash /var/lib/buildkite-agent/builds/llvm-project/build/projects/openmp/tools/archer/tests/races/Output/lock-unrelated.c.tmp 2>&1 | tee /var/lib/buildkite-agent/builds/llvm-project/build/projects/openmp/tools/archer/tests/races/Output/lock-unrelated.c.tmp.log | /var/lib/buildkite-agent/builds/llvm-project/build/./bin/FileCheck /var/lib/buildkite-agent/builds/llvm-project/openmp/tools/archer/tests/races/lock-unrelated.c

Event Timeline

mbenfield requested review of this revision.Jun 3 2021, 8:54 AM
mbenfield created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJun 3 2021, 8:54 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
sberg accepted this revision.Jun 9 2021, 5:33 AM

LGTM

This revision is now accepted and ready to land.Jun 9 2021, 5:33 AM
mbenfield updated this revision to Diff 351563.Jun 11 2021, 2:16 PM

rebase and rerun builds