[all-commits] [llvm/llvm-project] 846374: [OpenMP][Tool] Make tests for archer dependent on ...
Joachim via All-commits
all-commits at lists.llvm.org
Mon Jan 13 23:48:14 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 84637408f2e63821014974dac08dee50bb197c1b
https://github.com/llvm/llvm-project/commit/84637408f2e63821014974dac08dee50bb197c1b
Author: Joachim Protze <protze at itc.rwth-aachen.de>
Date: 2020-01-13 (Mon, 13 Jan 2020)
Changed paths:
M openmp/cmake/DetectTestCompiler/CMakeLists.txt
M openmp/cmake/OpenMPTesting.cmake
M openmp/tools/archer/tests/CMakeLists.txt
M openmp/tools/archer/tests/lit.cfg
M openmp/tools/archer/tests/lit.site.cfg.in
M openmp/tools/archer/tests/races/critical-unrelated.c
M openmp/tools/archer/tests/races/lock-nested-unrelated.c
M openmp/tools/archer/tests/races/lock-unrelated.c
M openmp/tools/archer/tests/races/parallel-simple.c
M openmp/tools/archer/tests/races/task-dependency.c
M openmp/tools/archer/tests/races/task-taskgroup-unrelated.c
M openmp/tools/archer/tests/races/task-taskwait-nested.c
M openmp/tools/archer/tests/races/task-two.c
Log Message:
-----------
[OpenMP][Tool] Make tests for archer dependent on TSan
If the openmp project is built standalone, the test compiler is feature tested for an available -fsanitize=thread flag.
If the openmp project is built as part of llvm, the target tsan is needed to test archer.
An additional line (requires tsan) was introduced to the tests, this patch updates the line numbers for the race.
Follow-up for 77ad98c
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D71914
More information about the All-commits
mailing list