[Openmp-commits] [PATCH] D39708: [OMPT] Fix test cancel_parallel.c

Jonas Hahnfeld via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Nov 8 10:55:04 PST 2017


Hahnfeld added a comment.

In https://reviews.llvm.org/D39708#919491, @protze.joachim wrote:

> Instead of saving the address and printing it in a new team afterwards, you could also use CHECK-DAG and print the address, where you store it.
>  In that case, you should add another, unrelated match in between (e.g., the thread_begin event)
>
> Not sure, which approach is better :)


This one! I honestly wasn't aware that CHECK-DAG can still match variables, I thought that wouldn't work. Documentation and tests suggest it works


https://reviews.llvm.org/D39708





More information about the Openmp-commits mailing list