llvm-project/openmp/runtime/test/ompt/parallel
Joachim Protze 6d3b81664a [OpenMP][OMPT] Introduce a guard to handle OMPT return address
This is an alternative approach to address inconsistencies pointed out in: D90078
This patch makes sure that the return address is reset, when leaving the scope.
In some cases, I had to move the macro out of an if-statement to have it in the
right scope, in some cases I added an additional block to restrict the scope.

This patch does not handle inconsistencies, which might occur if the return
address is still set when we call into the application.

Test case (repeated_calls.c) provided by @hbae

Differential Revision: https://reviews.llvm.org/D91692
2020-11-25 18:17:44 +01:00
..
dynamic_enough_threads.c
dynamic_not_enough_threads.c
max_active_levels_serialized.c
nested.c [OMPT] First chunk of final OMPT 5.0 interface updates 2018-12-18 08:52:30 +00:00
nested_lwt.c
nested_serialized.c
nested_thread_num.c [OMPT] First chunk of final OMPT 5.0 interface updates 2018-12-18 08:52:30 +00:00
nested_threadnum.c [Tests] fix non-determinism failure in testcase 2018-12-18 08:57:23 +00:00
no_thread_num_clause.c [OMPT] Handling of the events of initial-task-begin and initial-task-end 2019-05-20 14:21:36 +00:00
normal.c [OMPT] Cleanup reset of exit_frame pointer 2019-07-22 18:46:02 +00:00
not_enough_threads.c
parallel_if0.c [OMPT] Second chunk of final OMPT 5.0 interface updates 2019-01-15 15:36:53 +00:00
repeated_calls.c [OpenMP][OMPT] Introduce a guard to handle OMPT return address 2020-11-25 18:17:44 +01:00
serialized.c [OMPT] Second chunk of final OMPT 5.0 interface updates 2019-01-15 15:36:53 +00:00