[Lldb-commits] [lldb] [LLDB][Platform Linux] Flip and add test (PR #142200)

via lldb-commits lldb-commits at lists.llvm.org
Fri May 30 12:07:13 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/test/Shell/Register/Core/Inputs/tkill.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/test/Shell/Register/Core/Inputs/tkill.cpp b/lldb/test/Shell/Register/Core/Inputs/tkill.cpp
index 79310c7f2..677bd3e6c 100644
--- a/lldb/test/Shell/Register/Core/Inputs/tkill.cpp
+++ b/lldb/test/Shell/Register/Core/Inputs/tkill.cpp
@@ -1,10 +1,10 @@
-#include <sys/syscall.h>
 #include <signal.h>
+#include <sys/syscall.h>
 
 int main() {
-    // Get the current thread ID
-    pid_t tid = syscall(SYS_gettid);
-    // Send a SIGSEGV signal to the current thread
-    syscall(SYS_tkill, tid, SIGSEGV);
-    return 0;
+  // Get the current thread ID
+  pid_t tid = syscall(SYS_gettid);
+  // Send a SIGSEGV signal to the current thread
+  syscall(SYS_tkill, tid, SIGSEGV);
+  return 0;
 }

``````````

</details>


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


More information about the lldb-commits mailing list