[all-commits] [llvm/llvm-project] 92631a: [lldb][MinidumpFileBuilder] Fix addition of Memory...

Miro Bucko via All-commits all-commits at lists.llvm.org
Mon Apr 22 10:40:27 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92631a4824a91f3268a5716dd3459df8dc6bfb63
      https://github.com/llvm/llvm-project/commit/92631a4824a91f3268a5716dd3459df8dc6bfb63
  Author: Miro Bucko <mbucko at hotmail.co.uk>
  Date:   2024-04-22 (Mon, 22 Apr 2024)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
    M lldb/source/Target/Process.cpp

  Log Message:
  -----------
  [lldb][MinidumpFileBuilder] Fix addition of MemoryList steam (#88564)

Summary:
AddMemoryList() was returning the last error status returned by
ReadMemory(). So if an invalid memory region was read last, the function
would return an error.

Test Plan:
./bin/llvm-lit -sv
~/src/llvm-project/lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py

Reviewers:
kevinfrei,clayborg 

Subscribers:

Tasks:

Tags:



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list