Commit e1a7a90d authored by Jonas Hahnfeld's avatar Jonas Hahnfeld
Browse files

[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
parent 1d9902d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment