[all-commits] [llvm/llvm-project] df6822: [lldb] Fix error reporting in SBTarget::ReadMemory...

Pavel Labath via All-commits all-commits at lists.llvm.org
Tue Sep 24 23:32:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df6822f4eb81638e724f09b948b83fe678412d25
      https://github.com/llvm/llvm-project/commit/df6822f4eb81638e724f09b948b83fe678412d25
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-09-25 (Wed, 25 Sep 2024)

  Changed paths:
    M lldb/source/API/SBTarget.cpp
    M lldb/test/API/python_api/target/TestTargetAPI.py

  Log Message:
  -----------
  [lldb] Fix error reporting in SBTarget::ReadMemory (#109764)

The function should use the by-ref SBError argument instead of creating
a new one. This code has been here since ~forever, and was probably
copied from methods which return an SBError result (where one needs to
create a local variable).



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