llvm-project/openmp/runtime/test
Jonas Hahnfeld c60300333e [OMPT] Fix test cancel_parallel.c
If a parallel region is cancelled, execution resumes at the end
of the structured block. That is why this test cannot use the
"normal" macros that print right after inserting the label.
Instead it previously printed the addresses before the pragma
and swapped the checks compared to the other tests.

However, this does not work because FileChecks '*' is greedy
so that RETURN_ADDRESS always matched the second address. This
makes the test fail when an "overflow" occurrs and the first
address matches the value of codeptr_ra.

I discovered this on my MacBook but I'm unable to reproduce the
failure with the current version. Nevertheless we should fix this
problem to avoid that this test fails later after an unrelated change.

Differential Revision: https://reviews.llvm.org/D39708

llvm-svn: 317787
2017-11-09 14:26:14 +00:00
..
api Fix memory error in case of reinit using kmp_set_defaults() for lock code. 2017-01-18 07:02:21 +00:00
atomic Remove trailing whitespace from tests 2016-05-17 21:08:52 +00:00
barrier omp_barrier.c test fixed in order to reliably and faster run on any number of processors 2016-01-25 16:52:10 +00:00
critical
env Fix implementation of OMP_THREAD_LIMIT 2017-07-27 20:58:41 +00:00
flush
lock Revert "Updating implementation of OMPT as specified in OpenMP 5.0 Preview 2 (TR6)" 2017-11-03 18:28:19 +00:00
master Remove trailing whitespace from tests 2016-05-17 21:08:52 +00:00
misc_bugs Test cancellation_for_sections.c expectedly fails on GCC 2017-04-04 14:39:52 +00:00
ompt [OMPT] Fix test cancel_parallel.c 2017-11-09 14:26:14 +00:00
parallel Make test/parallel/omp_nested.c not use so many threads 2017-06-27 03:04:25 +00:00
tasking Add C++ support for testcases 2017-10-20 19:42:32 +00:00
threadprivate Remove trailing whitespace from tests 2016-05-17 21:08:52 +00:00
worksharing OpenMP 4.5: implemented support of schedule(simd:guided) and 2017-06-05 17:17:33 +00:00
CMakeLists.txt Update implementation of OMPT to the specification OpenMP 5.0 Preview 1 (TR4). 2017-11-01 10:08:30 +00:00
lit.cfg Update implementation of OMPT to the specification OpenMP 5.0 Preview 1 (TR4). 2017-11-01 10:08:30 +00:00
lit.site.cfg.in Update implementation of OMPT to the specification OpenMP 5.0 Preview 1 (TR4). 2017-11-01 10:08:30 +00:00
omp_my_sleep.h
omp_testsuite.h Allow unit testing on Windows 2016-05-23 17:50:32 +00:00