[OMPT] Frame information for openmp taskwait
authorJonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>
Fri, 12 Feb 2016 12:19:59 +0000 (12:19 +0000)
committerJonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>
Fri, 12 Feb 2016 12:19:59 +0000 (12:19 +0000)
commit867aa20b1ec9833fd510e7990aa7894a995cb414
tree95ac1665d9e9b491709f4ef4a64ce667d07f63ca
parent02f99ea13de2fa61a027b2bb25753be7d942350f
[OMPT] Frame information for openmp taskwait

For pragma omp taskwait the runtime is called from the task context.
Therefore, the reentry frame information should be updated.

The information should be available for both taskwait event calls; therefore,
set before the first event and reset after the last event.

Patch by Joachim Protze
Differential Revision: http://reviews.llvm.org/D17145

llvm-svn: 260674
openmp/runtime/src/kmp_tasking.c