[Openmp-commits] [PATCH] D70408: [OpenMP][Tool] Improving stack trace for Archer

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Nov 18 11:35:53 PST 2019


protze.joachim created this revision.
protze.joachim added a reviewer: Hahnfeld.
Herald added subscribers: guansong, mgorny.
Herald added a reviewer: jdoerfert.

The OpenMP runtime is not instrumented, so entering the runtime leaves no hint on the source line of the pragma on ThreadSanitizer's function stack.

This patch adds function entry/exit annotations for OpenMP parallel regions, and synchronization regions (barrier, taskwait, taskgroup).


https://reviews.llvm.org/D70408

Files:
  openmp/tools/archer/ompt-tsan.cpp
  openmp/tools/archer/tests/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70408.229887.patch
Type: text/x-patch
Size: 3590 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20191118/d4d1d8de/attachment-0001.bin>


More information about the Openmp-commits mailing list