HomePhabricator

[OpenMP] libomp: fix ittnotify stack stitching for teams construct

Authored by AndreyChurbanov on Feb 25 2021, 1:23 PM.

Description

[OpenMP] libomp: fix ittnotify stack stitching for teams construct

Stitching id could be overridden causing reference of destroyed object
when number of teams is 1. The patch separates stitching id store
location for teams and parallel nested in teams.

Differential Revision: https://reviews.llvm.org/D96562

Details