[Openmp-commits] [PATCH] D47717: [OMPT] Make sure that OMPT is enabled in runtime entry points that access internals of the runtime
Joachim Protze via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Jun 18 07:54:41 PDT 2018
protze.joachim added a comment.
The OMPT tool can decide at multiple points to be inactive, here we look at:
220.127.116.11 Initializing an OMPT Tool
> If a tool initializer returns a non-zero value, the tool will be activated for the execution; otherwise, the tool will be inactive.
This tool behavior is represented in line 136 of the test-code. Similar behavior is also expect after the ompt_finalize_tool is added: the tool should be inactive, but the runtime should still not crash or reboot if the tool calls some of the runtime entry points after calling ompt_finalize_tool.
More information about the Openmp-commits