[compiler-rt] [compiler-rt] Implements DumpAllRegisters for windows intel archs. (PR #108688)

via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 14 00:40:28 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 1d2f7277e695d046efaf2818dd1a4b251ce745fd b5ec4e3c886bdb3a70e0fbc68cc8620e582a84c4 --extensions cpp -- compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_win.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
index 629df62fbd..0d1c229b70 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
@@ -1075,8 +1075,8 @@ void SignalContext::DumpAllRegisters(void *context) {
   Printf("esp = %lx  ", ctx->Esp);
   Printf("\n");
 #  else
-   // TODO
-   (void)ctx;
+  // TODO
+  (void)ctx;
 #  endif
 }
 

``````````

</details>


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


More information about the llvm-commits mailing list