summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2023-02-27 13:31:05 -0800
committerJohannes Doerfert <johannes@jdoerfert.de>2023-02-27 17:34:46 -0800
commit89a8077f3d68f0f431f3657a8805f7751f5eac69 (patch)
treeee9067049f0a06a62f47293ea942522e70cb2b39 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentda0d816567e229da01b5663e8587114d469e2b0b (diff)
[OpenMP][FIX] Properly align firstprivate variables
The old code didn't actually align the values, and it added padding even when none was necessary. This approach will pad entries if necessary and, similar to the struct case, use the host pointer as guidance. NOTE: This does still not align them as the host has, but it's unclear if the user really should use the alignment bits anyway. For now this is a reasonable compromise, only if we have host alignment information (explicitly not implicitly via the host pointer), we could do it completely right without wasting lots of resources for >99% of the cases. Fixes: https://github.com/llvm/llvm-project/issues/61034
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions