[llvm] [hwasan] Port "[Asan] Skip pre-split coroutine and noop coroutine frame (#99415)" (PR #154803)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 21 10:41:12 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 -- llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
index 745756526..66cdbfcf9 100644
--- a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
@@ -1574,7 +1574,7 @@ void HWAddressSanitizer::sanitizeFunction(Function &F,
   if (F.empty())
     return;
 
-  if(F.isPresplitCoroutine())
+  if (F.isPresplitCoroutine())
     return;
 
   NumTotalFuncs++;

``````````

</details>


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


More information about the llvm-commits mailing list