[compiler-rt] [win/asan] GetInstructionSize: Support the instruction `0f 29 74 24 XX`. (PR #152361)

via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 6 11:34:01 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 -- compiler-rt/lib/interception/interception_win.cpp compiler-rt/lib/interception/tests/interception_win_test.cpp
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/lib/interception/interception_win.cpp b/compiler-rt/lib/interception/interception_win.cpp
index 5402f8368..5bf1ee2ac 100644
--- a/compiler-rt/lib/interception/interception_win.cpp
+++ b/compiler-rt/lib/interception/interception_win.cpp
@@ -685,7 +685,7 @@ static size_t GetInstructionSize(uptr address, size_t* rel_offset = nullptr) {
   }
 
   switch (*(u32 *)address) {
-    case 0x2474290f :  // 0f 29 74 24 XX : movaps %xmm6, XX(%rsp)
+    case 0x2474290f:  // 0f 29 74 24 XX : movaps %xmm6, XX(%rsp)
       return 5;
   }
 

``````````

</details>


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


More information about the llvm-commits mailing list