[all-commits] [llvm/llvm-project] 6c82b8: Change Target::ReadMemory to ensure the amount of ...

Augusto Noronha via All-commits all-commits at lists.llvm.org
Tue May 11 09:09:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c82b8a378a6f59e94a81d91225db4fabf6e2bff
      https://github.com/llvm/llvm-project/commit/6c82b8a378a6f59e94a81d91225db4fabf6e2bff
  Author: Augusto Noronha <augusto2112 at me.com>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M lldb/source/Target/Target.cpp

  Log Message:
  -----------
  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




More information about the All-commits mailing list