[Openmp-commits] [PATCH] D92351: [OpenMP][OMPT] Introduce guards to handle OMPT frame pointers

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Nov 30 15:19:39 PST 2020


protze.joachim created this revision.
protze.joachim added reviewers: hbae, AndreyChurbanov.
protze.joachim added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
protze.joachim requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

Similar as with the return address guards, the goal of the guards is to implement a more robust control flow for setting and unsetting the frame pointer information.
Again, the added KMP_DEBUG_ASSERTS together with the overall OMPT test cases ensure consistent updates of the frame pointer.

The guards are not applicable for the if0 tasking functions and the serialized parallel because the runtime returns to the application in order to execute the task.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92351

Files:
  openmp/runtime/src/kmp_csupport.cpp
  openmp/runtime/src/kmp_gsupport.cpp
  openmp/runtime/src/kmp_runtime.cpp
  openmp/runtime/src/kmp_taskdeps.cpp
  openmp/runtime/src/kmp_tasking.cpp
  openmp/runtime/src/ompt-specific.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92351.308489.patch
Type: text/x-patch
Size: 50653 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20201130/7ced681f/attachment-0001.bin>


More information about the Openmp-commits mailing list