aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/Platform.cpp
diff options
context:
space:
mode:
authorAugusto Noronha <augusto2112@me.com>2021-05-11 13:07:02 -0300
committerAugusto Noronha <augusto2112@me.com>2021-05-11 13:07:11 -0300
commit6c82b8a378a6f59e94a81d91225db4fabf6e2bff (patch)
treebe93f76ba2b38288412e008bd531c4c38b6185dc /llvm/lib/TextAPI/Platform.cpp
parent6400905a615282c83a2fc6e49e57ff716aa8b4de (diff)
downloadllvm-6c82b8a378a6f59e94a81d91225db4fabf6e2bff.zip
llvm-6c82b8a378a6f59e94a81d91225db4fabf6e2bff.tar.gz
llvm-6c82b8a378a6f59e94a81d91225db4fabf6e2bff.tar.bz2
Change Target::ReadMemory to ensure the amount of memory read from the file-cache is the amount requested.
This change ensures that if for whatever reason we read less bytes than expected (for example, when trying to read memory that spans multiple sections), we try reading from the live process as well. Reviewed By: jasonmolenda Differential Revision: https://reviews.llvm.org/D101390
Diffstat (limited to 'llvm/lib/TextAPI/Platform.cpp')
0 files changed, 0 insertions, 0 deletions