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

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 10 16:24:47 PDT 2024


Author: Jason Molenda
Date: 2024-10-10T16:24:38-07:00
New Revision: a28e7ce378d717e6aacbdc3089974b93b6b62948

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

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

This reverts commit fae7d6848bbb59fc2bad17adbdb34bd6a11a0651.

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