[Lldb-commits] [lldb] f02252e - Revert "[lldb] SetErrorStringWithFormatv -> FromErrorStringWithFormatv (NFC)"

Augusto Noronha via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 10 15:10:53 PDT 2024


Author: Augusto Noronha
Date: 2024-10-10T15:05:58-07:00
New Revision: f02252e1fd2965db007cf7be74c448b7a119c321

URL: https://github.com/llvm/llvm-project/commit/f02252e1fd2965db007cf7be74c448b7a119c321
DIFF: https://github.com/llvm/llvm-project/commit/f02252e1fd2965db007cf7be74c448b7a119c321.diff

LOG: Revert "[lldb] SetErrorStringWithFormatv -> FromErrorStringWithFormatv (NFC)"

This reverts commit b77fdf5799be6b29869f2f7969851709e03938ba.

Added: 
    

Modified: 
    lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
index 367fce442bb866..116c43343c01d1 100644
--- a/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
+++ b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
@@ -407,9 +407,8 @@ Status ProcessKDP::DoResume(RunDirection direction) {
   Log *log = GetLog(KDPLog::Process);
 
   if (direction == RunDirection::eRunReverse) {
-    error.FromErrorStringWithFormatv(
-        "error: {0} does not support reverse execution of processes",
-        GetPluginName());
+    error.SetErrorStringWithFormatv(
+        "error: {0} does not support reverse execution of processes", GetPluginName());
     return error;
   }
 


        


More information about the lldb-commits mailing list