[Lldb-commits] [lldb] [lldb] Turn lldb_private::Status into a value type. (PR #106163)
Med Ismail Bennani via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 26 18:27:12 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!")
----------------
medismailben wrote:
This is not valid python. The regex should only be applied to C++.
https://github.com/llvm/llvm-project/pull/106163
More information about the lldb-commits
mailing list