aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorAlex Langford <alangford@apple.com>2023-03-07 10:12:14 -0800
committerAlex Langford <alangford@apple.com>2023-03-16 15:22:46 -0700
commitf341d7a4091a6ec1c1a4a49c4810d4a8b036ad60 (patch)
tree018f0d616bdea7800ffb23e54adc13bc1948ad1f /clang/lib/Lex/ModuleMap.cpp
parent91b3051ac8b5358b5b9980fd0656d6a807f41d6b (diff)
downloadllvm-f341d7a4091a6ec1c1a4a49c4810d4a8b036ad60.zip
llvm-f341d7a4091a6ec1c1a4a49c4810d4a8b036ad60.tar.gz
llvm-f341d7a4091a6ec1c1a4a49c4810d4a8b036ad60.tar.bz2
[lldb] Make MemoryCache::Read more resilient
MemoryCache::Read is not resilient to partial reads when reading memory chunks less than or equal in size to L2 cache lines. There have been attempts in the past to fix this but nothing really solved the root of the issue. I first created a test exercising MemoryCache's implementation and documenting how I believe MemoryCache::Read should behave. I then rewrote the implementation of MemoryCache::Read as needed to make sure that the different scenarios behaved correctly. rdar://105407095 Differential Revision: https://reviews.llvm.org/D145624
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions