[Lldb-commits] [lldb] [LLDB][MIPS] Fix signal SIGBUS number mismatch error on mips target (PR #132688)

via lldb-commits lldb-commits at lists.llvm.org
Sun Mar 30 19:38:55 PDT 2025


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 HEAD~1 HEAD --extensions cpp -- lldb/source/Plugins/Process/Utility/LinuxSignals.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp b/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp
index d254ab3fb..65184c9ee 100644
--- a/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp
+++ b/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp
@@ -8,9 +8,9 @@
 
 #include "LinuxSignals.h"
 
-// Now, because we do not support mips debugging, if we compile LLVM on mips target, 
-// would report error `static assertion failed:Value mismatch for signal number
-// SIGBUS`, so add this condition to avoid error.
+// Now, because we do not support mips debugging, if we compile LLVM on mips
+// target, would report error `static assertion failed:Value mismatch for signal
+// number SIGBUS`, so add this condition to avoid error.
 #if defined(__linux__) && !defined(__mips__)
 #include <csignal>
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/132688


More information about the lldb-commits mailing list