[all-commits] [llvm/llvm-project] f2da1f: Get Section from resolved_addr in Target::ReadMemory

Jason Molenda via All-commits all-commits at lists.llvm.org
Tue Apr 20 12:09:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2da1f68d815f97e1211da62e7e1f102941947e3
      https://github.com/llvm/llvm-project/commit/f2da1f68d815f97e1211da62e7e1f102941947e3
  Author: Jason Molenda <jason at molenda.com>
  Date:   2021-04-20 (Tue, 20 Apr 2021)

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

  Log Message:
  -----------
  Get Section from resolved_addr in Target::ReadMemory

Landing this fix for Augusto Noronha.  The code is getting the
Section from 'addr' passed in, but it may have been expressed as
a load address when it was created and Target::ReadMemory tries to
convert it to a Section+offset if that's now possible; use the
Section found from that cleanup if it exists.

Differential Revision: https://reviews.llvm.org/D100850




More information about the All-commits mailing list