[Lldb-commits] [lldb] [LLDB][Windows] Fix watchpoints for Windows (PR #95446)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 13 11:21:09 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff ffab938f50fa999f2218976f7de78cf8e4f70d4e 0053a9cfdd4637be0d52901b5d871ed1c43e06a1 -- lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
index 780147fc60..f383b3d40a 100644
--- a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
+++ b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
@@ -405,8 +405,7 @@ void ProcessWindows::RefreshStateAfterStop() {
"{1:x} with watchpoint {2}",
m_session_data->m_debugger->GetProcess().GetProcessId(), pc, id);
- stop_info = StopInfo::CreateStopReasonWithWatchpointID(
- *stop_thread, id);
+ stop_info = StopInfo::CreateStopReasonWithWatchpointID(*stop_thread, id);
stop_thread->SetStopInfo(stop_info);
return;
``````````
</details>
https://github.com/llvm/llvm-project/pull/95446
More information about the lldb-commits
mailing list