summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2025-05-27 14:59:30 -0400
committerGitHub <noreply@github.com>2025-05-27 14:59:30 -0400
commitd1a6327b2b5d859c992599ac217aaa6d8b83a998 (patch)
tree17424342e536a3effd4556db472ece4a42373678 /lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
parent7c9e0d5b5d6de3d7812954fc18f74d705d5c5610 (diff)
[C2y] Fix _Countof handling of VLAs (#141621)
It turns out that getVLASize() does not get you the size of a single dimension of the VLA, it gets you the full count of all elements. This caused _Countof to return invalid values on VLA ranks. Now switched to using getVLAElements1D() instead, which only gets a single dimension. Fixes #141409
Diffstat (limited to 'lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py')
0 files changed, 0 insertions, 0 deletions