[Openmp-commits] [PATCH] D45890: [OMPT] Add implementation and tests of Archer tool

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Apr 20 10:01:44 PDT 2018


protze.joachim created this revision.
protze.joachim added reviewers: hfinkel, Hahnfeld.
Herald added a subscriber: mgorny.

The tool provides TSAN annotations for OpenMP synchronization. Enabled for 
application execution by setting OMP_TOOL_LIBRARIES=libarcher.so, this
library should get installed in the same order as libomp, so the linker
should find the file when the application is linked with OpenMP.

The tool detects whether the application was built with TSan and rejects
activation according to the OMPT protocol if there is no TSan-rt.

      

Further it is recommended to set
TSAN_OPTIONS="ignore_noninstrumented_modules=1"
This avoids some false positive errors from the OpenMP runtime.


https://reviews.llvm.org/D45890

Files:
  CMakeLists.txt
  runtime/CMakeLists.txt
  runtime/src/CMakeLists.txt
  tools/CMakeLists.txt
  tools/archer/CMakeLists.txt
  tools/archer/counter.cpp
  tools/archer/counter.h
  tools/archer/ftsan.c
  tools/archer/ompt-tsan.cpp
  tools/archer/tests/CMakeLists.txt
  tools/archer/tests/barrier/barrier.c
  tools/archer/tests/critical/critical.c
  tools/archer/tests/critical/lock-nested.c
  tools/archer/tests/critical/lock.c
  tools/archer/tests/deflake.bash
  tools/archer/tests/lit.cfg
  tools/archer/tests/lit.site.cfg.in
  tools/archer/tests/ompt/ompt-signal.h
  tools/archer/tests/parallel/parallel-firstprivate.c
  tools/archer/tests/parallel/parallel-simple.c
  tools/archer/tests/parallel/parallel-simple2.c
  tools/archer/tests/races/critical-unrelated.c
  tools/archer/tests/races/lock-nested-unrelated.c
  tools/archer/tests/races/lock-unrelated.c
  tools/archer/tests/races/parallel-simple.c
  tools/archer/tests/races/task-dependency.c
  tools/archer/tests/races/task-taskgroup-unrelated.c
  tools/archer/tests/races/task-taskwait-nested.c
  tools/archer/tests/races/task-two.c
  tools/archer/tests/reduction/parallel-reduction-nowait.c
  tools/archer/tests/reduction/parallel-reduction.c
  tools/archer/tests/task/task-barrier.c
  tools/archer/tests/task/task-create.c
  tools/archer/tests/task/task-dependency.c
  tools/archer/tests/task/task-taskgroup-nested.c
  tools/archer/tests/task/task-taskgroup.c
  tools/archer/tests/task/task-taskwait-nested.c
  tools/archer/tests/task/task-taskwait.c
  tools/archer/tests/worksharing/ordered.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45890.143336.patch
Type: text/x-patch
Size: 91132 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180420/c6183a28/attachment-0001.bin>


More information about the Openmp-commits mailing list