[all-commits] [llvm/llvm-project] 589519: [OpenMP][OMPD]Code movement required for OMPD

vigbalu via All-commits all-commits at lists.llvm.org
Fri Aug 20 02:06:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 589519b9ab47694159e8c20fa89ae802380f185f
      https://github.com/llvm/llvm-project/commit/589519b9ab47694159e8c20fa89ae802380f185f
  Author: Vignesh Balasubramanian <Vignesh.Balasubrmanian at amd.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M openmp/runtime/src/kmp_csupport.cpp
    M openmp/runtime/src/ompt-specific.cpp

  Log Message:
  -----------
  [OpenMP][OMPD]Code movement required for OMPD

These changes don't come under OMPD guard as it is a movement of existing code to capture parallel behavior correctly.
"Runtime Entry Points for OMPD" like "ompd_bp_parallel_begin" and "ompd_bp_parallel_begin" should be placed at the correct execution point for the debugging tool to access proper handles/data.
Without the below changes, in certain cases, debugging tool will pick the wrong parallel and task handle.

Reviewed By: @hbae
Differential Revision: https://reviews.llvm.org/D100366




More information about the All-commits mailing list