This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] [OMPD] openmp/runtime code changes required for OMPD
ClosedPublic

Authored by Vigneshbalu on Apr 13 2021, 1:20 AM.

Details

Summary

This patch stems from “ompd-test” branch PRs https://github.com/OpenMPToolsInterface/llvm-project/commit/45e69d3a5fc27af7bf92ed5310987eb25070e538 and https://github.com/OpenMPToolsInterface/llvm-project/commit/e25e8f48b3573845f7a342ca02be3a5b3fac6090

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.

Diff Detail

Event Timeline

Vigneshbalu created this revision.Apr 13 2021, 1:20 AM
Vigneshbalu requested review of this revision.Apr 13 2021, 1:20 AM
Herald added a project: Restricted Project. · View Herald Transcript

rebasing the patch

Rebasing the patch

Gentle Reminder!

Rebasing the patch.

Vigneshbalu edited the summary of this revision. (Show Details)

Updating the summary and the patch.

Updating the diff full context.

hbae accepted this revision.Aug 13 2021, 1:17 PM

LGTM

This revision is now accepted and ready to land.Aug 13 2021, 1:17 PM