Skip to content
Commit 6c82b8a3 authored by Augusto Noronha's avatar Augusto Noronha
Browse files

Change Target::ReadMemory to ensure the amount of memory read from the...

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
parent 6400905a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment