[all-commits] [llvm/llvm-project] a14821: [OpenMP][OMPT] Fix OMPT return address guard for g...

Joachim via All-commits all-commits at lists.llvm.org
Sat Dec 5 10:11:45 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a148216b31292e52c0229dae98f52d3b2c350400
      https://github.com/llvm/llvm-project/commit/a148216b31292e52c0229dae98f52d3b2c350400
  Author: Joachim Protze <protze at itc.rwth-aachen.de>
  Date:   2020-12-05 (Sat, 05 Dec 2020)

  Changed paths:
    M openmp/runtime/src/kmp_gsupport.cpp

  Log Message:
  -----------
  [OpenMP][OMPT] Fix OMPT return address guard for gomp interface

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.

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




More information about the All-commits mailing list