diff options
author | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2018-02-23 16:46:11 +0000 |
---|---|---|
committer | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2018-02-23 16:46:11 +0000 |
commit | e1a7a90dad92196c9dcf42c69485356f17cba71e (patch) | |
tree | 045616cdc3816f22d360f4dcea3d3fadb35cdbc5 /runtime/src/kmp_barrier.cpp | |
parent | 1d9902d5b99ee93e0bb3f886e08414a81f21cd2a (diff) |
[OMPT] Fix test tasks/serialized.c with optimization
The compiler inlines the user code in the task. Check for that case at
runtime by comparing the frame addresses and print the expected exit
address.
Also showcase how I think the OMPT tests could be reformatted to match
LLVM's code style. In my opinion it would be great to that kind of change
to all tests that need to be touched for whatever reason...
Differential Revision: https://reviews.llvm.org/D43191
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@325921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/src/kmp_barrier.cpp')
0 files changed, 0 insertions, 0 deletions