[Lldb-commits] [lldb] [lldb] Ensure that TestMemoryCache.py reads allocated memory (PR #151635)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 1 03:15:03 PDT 2025
https://github.com/DavidSpickett approved this pull request.
LGTM
I saw the same problem with another test case on Windows on Arm. In that case I was able to lower the amount of memory read, but here it needs to be some amount greater than the l2 cache line size which is 512:
```
def MemCacheLineSize: Property<"memory-cache-line-size", "UInt64">,
DefaultUnsignedValue<512>,
Desc<"The memory cache line size">;
```
The test reads 201 * 4 bytes = 804. Starts from -100 from the array, so a 100 item buffer after it makes sense. There will be a few registers in each frame to cover the last 1 integer.
https://github.com/llvm/llvm-project/pull/151635
More information about the lldb-commits
mailing list