diff options
| author | agozillon <Andrew.Gozillon@amd.com> | 2025-10-09 17:52:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-09 17:52:41 +0200 |
| commit | 9155b318f2cbdac1201633c31abada6380d53d7a (patch) | |
| tree | dc6560d5d44c99b12c2a292bc34c5d83d09992b1 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
| parent | ec28b95b7491bc2fbb6ec66cdbfd939e71255c42 (diff) | |
| download | llvm-9155b318f2cbdac1201633c31abada6380d53d7a.zip llvm-9155b318f2cbdac1201633c31abada6380d53d7a.tar.gz llvm-9155b318f2cbdac1201633c31abada6380d53d7a.tar.bz2 | |
[Flang][OpenMP] Defer descriptor mapping for assumed dummy argument types (#154349)
This PR adds deferral of descriptor maps until they are necessary for
assumed dummy argument types. The intent is to avoid a problem where a
user can inadvertently map a temporary local descriptor to device
without their knowledge and proceed to never unmap it. This temporary
local descriptor remains lodged in OpenMP device memory and the next
time another variable or descriptor residing in the same stack address
is mapped we incur a runtime OpenMP map error as we try to remap the
same address.
This fix was discussed with the OpenMP committee and applies to OpenMP
5.2 and below, future versions of OpenMP can avoid this issue via the
attach semantics added to the specification.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions
