This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Correctly add member expressions to OpenMP info
ClosedPublic

Authored by jhuber6 on Aug 20 2021, 1:47 PM.

Details

Summary

Mapping expressions that have this as their base expression aren't
considered a valid base variable and the rest of the runtime expects
this. However, if we have an expression with no value declaration we can
try to extract it manually to provide more helpful debuggin information.

Diff Detail

Event Timeline

jhuber6 created this revision.Aug 20 2021, 1:47 PM
jhuber6 requested review of this revision.Aug 20 2021, 1:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 20 2021, 1:47 PM
jdoerfert accepted this revision.Aug 20 2021, 1:52 PM

LG, one nit.

clang/lib/CodeGen/CGOpenMPRuntime.cpp
9439
This revision is now accepted and ready to land.Aug 20 2021, 1:52 PM
jhuber6 updated this revision to Diff 367887.Aug 20 2021, 1:53 PM

Add static.

This revision was automatically updated to reflect the committed changes.