[PATCH] D67862: [LLDB] Use SetErrorStringWithFormatv for cases that use LLVM style format strings
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 21 12:09:09 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL372485: [LLDB] Use SetErrorStringWithFormatv for cases that use LLVM style format… (authored by mstorsjo, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D67862?vs=221108&id=221195#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67862/new/
https://reviews.llvm.org/D67862
Files:
lldb/trunk/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
lldb/trunk/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
Index: lldb/trunk/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
===================================================================
--- lldb/trunk/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
+++ lldb/trunk/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
@@ -170,9 +170,9 @@
else
LLDB_LOG(log, "Detaching process error: {0}", error);
} else {
- error.SetErrorStringWithFormat("error: process {0} in state = {1}, but "
- "cannot detach it in this state.",
- GetID(), private_state);
+ error.SetErrorStringWithFormatv("error: process {0} in state = {1}, but "
+ "cannot detach it in this state.",
+ GetID(), private_state);
LLDB_LOG(log, "error: {0}", error);
}
return error;
Index: lldb/trunk/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
===================================================================
--- lldb/trunk/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
+++ lldb/trunk/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
@@ -177,9 +177,9 @@
else
LLDB_LOG(log, "Detaching process error: {0}", error);
} else {
- error.SetErrorStringWithFormat("error: process {0} in state = {1}, but "
- "cannot detach it in this state.",
- GetID(), state);
+ error.SetErrorStringWithFormatv("error: process {0} in state = {1}, but "
+ "cannot detach it in this state.",
+ GetID(), state);
LLDB_LOG(log, "error: {0}", error);
}
return error;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67862.221195.patch
Type: text/x-patch
Size: 1754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190921/4c524487/attachment.bin>
More information about the llvm-commits
mailing list