[Openmp-commits] [PATCH] D92121: [OpenMP][OMPT] Fix OMPT return address guard for gomp interface

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Nov 25 12:02:17 PST 2020


protze.joachim created this revision.
protze.joachim added a reviewer: hbae.
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.

D91692 <https://reviews.llvm.org/D91692> missed various locations in kmp_gsupport, where the scope for OMPT_STORE_RETURN_ADDRESS is too narrow, i.e. the scope ends before the OMPT callback is called in some nested function. 
This patch fixes the scoping issue, so that all OMPT tests pass, when the tests are built with gcc.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92121

Files:
  openmp/runtime/src/kmp_gsupport.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92121.307673.patch
Type: text/x-patch
Size: 7236 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20201125/1bc23c99/attachment.bin>


More information about the Openmp-commits mailing list