[all-commits] [llvm/llvm-project] 12a9e2: [OpenMP][OMPT][OMPD] Fix frame flags for OpenMP to...

Joachim via All-commits all-commits at lists.llvm.org
Thu Feb 27 09:48:19 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12a9e2adc3842aee4d6ae01a33eb3103e2224af9
      https://github.com/llvm/llvm-project/commit/12a9e2adc3842aee4d6ae01a33eb3103e2224af9
  Author: Joachim <jenke at itc.rwth-aachen.de>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M openmp/runtime/src/kmp_tasking.cpp
    M openmp/runtime/src/ompt-general.cpp
    M openmp/runtime/src/ompt-internal.h
    M openmp/runtime/src/ompt-specific.cpp
    M openmp/runtime/src/ompt-specific.h
    M openmp/runtime/test/ompt/callback.h

  Log Message:
  -----------
  [OpenMP][OMPT][OMPD] Fix frame flags for OpenMP tool APIs (#114118)

In several cases the flags entries in ompt_frame_t are not initialized.
According to @jdelsign the address provided as reenter and exit address
is the canonical frame address (cfa) rather than a "framepointer". This
patch makes sure that the flags entry is always initialized and changes
the value from ompt_frame_framepointer to ompt_frame_cfa.

The assertion in the tests makes sure that the flags are always set,
when a tool (callback.h in this case) looks at the value.

Fixes #89058



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list