aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorKrish Gupta <krishom70@gmail.com>2025-10-29 19:25:52 +0530
committerGitHub <noreply@github.com>2025-10-29 08:55:52 -0500
commit22a10c8c2141b1a2794f475272281b1ad64f56cb (patch)
tree4c223423d907bb07f2490dde191790e80cd9d1e9 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parentff23ddc97ef325a1de2ddc14ab3a8d9f8e0faf37 (diff)
downloadllvm-22a10c8c2141b1a2794f475272281b1ad64f56cb.zip
llvm-22a10c8c2141b1a2794f475272281b1ad64f56cb.tar.gz
llvm-22a10c8c2141b1a2794f475272281b1ad64f56cb.tar.bz2
[OpenMP][Flang] Fix atomic operations on complex types (#165366)
Fixes https://github.com/llvm/llvm-project/issues/165184 In OMPIRBuilder::createAtomicRead() and createAtomicWrite(), the size parameter for __atomic_load/__atomic_store was incorrectly computed from the pointer type instead of the pointee (element) type. On 64-bit systems, this resulted in only 8 bytes being transferred regardless of the actual struct size. Changed both functions to use XElemTy (element type) instead of the pointer type when computing LoadSize. This ensures the full struct is transferred.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions