This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][OMPT] Fix OMPT address handling after D92197
Needs ReviewPublic

Authored by protze.joachim on Dec 10 2020, 7:48 AM.

Details

Reviewers
hbae
jdoerfert
Summary

The split of interfaces in D92197 breaks some of the OMPT tests by storing the wrong return or frame address.
This patch also introduces KMP_DEBUG_ASSERTIONS to verify expected state of the stored return address.
The return address is now managed in a thread-local stack in order to avoid repeated setting and unsetting the address.

Diff Detail