aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/Syntax/TreeTest.cpp
diff options
context:
space:
mode:
authorJoachim Protze <protze@itc.rwth-aachen.de>2020-06-01 14:49:45 +0200
committerJoachim Protze <protze@itc.rwth-aachen.de>2020-06-02 09:52:40 +0200
commit10995c77b4766ad2d416919854228fd7a03db5ef (patch)
tree696682b159fcf2e3a953ab21f5173aed33ed2058 /clang/unittests/Tooling/Syntax/TreeTest.cpp
parente0bca46b0854143b2f93b60aac99e669c9776979 (diff)
downloadllvm-10995c77b4766ad2d416919854228fd7a03db5ef.zip
llvm-10995c77b4766ad2d416919854228fd7a03db5ef.tar.gz
llvm-10995c77b4766ad2d416919854228fd7a03db5ef.tar.bz2
[OpenMP][OMPT] Fix and add event callbacks for detached tasks
The OpenMP spec has the task-fulfill event for a call to omp_fulfill_event. If the task did not yet finish execution, ompt_task_early_fulfill is used, otherwise ompt_task_late_fulfill. If a task does not complete, when the execution finishes (i.e., the task goes in detached mode), ompt_task_detach instead of ompt_task_complete must be used, when the next task is scheduled. A test for both cases is included, which only work with clang-11+ Reviewed By: hbae Differential revision: https://reviews.llvm.org/D80843
Diffstat (limited to 'clang/unittests/Tooling/Syntax/TreeTest.cpp')
0 files changed, 0 insertions, 0 deletions