[Openmp-commits] [PATCH] D43191: [OMPT] Fix test tasks/serialized.c with optimization

Jonas Hahnfeld via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Feb 12 06:58:24 PST 2018


Hahnfeld created this revision.
Hahnfeld added reviewers: protze.joachim, omalyshe, hbae.
Herald added a subscriber: openmp-commits.

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...


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D43191

Files:
  runtime/test/ompt/callback.h
  runtime/test/ompt/tasks/serialized.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43191.133853.patch
Type: text/x-patch
Size: 12610 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180212/fd90dd94/attachment-0001.bin>


More information about the Openmp-commits mailing list