summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorRoger Ferrer Ibanez <roger.ferrer@bsc.es>2021-08-06 20:22:23 +0000
committerRoger Ferrer Ibanez <roger.ferrer@bsc.es>2021-08-07 05:55:27 +0000
commitbfb77364d0be8a5b159cdcf4eaf8e7a720802e89 (patch)
tree96cc0d34cf7d0666a3ef84b69e2b1c98ede7212b /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent62fe3dcf98d17ea027492fd723dbb9b6dc295761 (diff)
[OpenMP] Fix accidental reuse of VLA size
We were using an OpaqueValueExpr allocated on the stack to store the size of a VLA. Because the VLASizeMap in CodegenFunction uses the address of the expression to avoid recomputing VLAs, we were accidentally reusing an earlier llvm::Value. This led to invalid LLVM IR. This is a temporary solution until VLASizeMap can be pushed and popped based on the context. Differential Revision: https://reviews.llvm.org/D107666
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions