[Lldb-commits] [lldb] [lldb] Turn lldb_private::Status into a value type. (PR #106163)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 27 09:04:20 PDT 2024
================
@@ -15,7 +15,7 @@ def __init__(self, exe_ctx: lldb.SBExecutionContext, args: lldb.SBStructuredData
def read_memory_at_address(
self, addr: int, size: int, error: lldb.SBError
) -> lldb.SBData:
- error.SetErrorString("This is an invalid scripted process!")
+ error = Status::FromErrorString("This is an invalid scripted process!")
----------------
adrian-prantl wrote:
Thanks!
https://github.com/llvm/llvm-project/pull/106163
More information about the lldb-commits
mailing list