[compiler-rt] [rtsan] Introduce blocking-fn-name and intercepted-fn-name suppressions (PR #112108)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 12 12:32:17 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 4468d58080d0502a050b71a33413d5206ad5e8fd b5dc1aa16882facd426a50902eba50b2753b7be9 --extensions cpp,inc,h -- compiler-rt/lib/rtsan/rtsan_assertions.h compiler-rt/lib/rtsan/rtsan_checks.inc compiler-rt/lib/rtsan/rtsan_suppressions.cpp compiler-rt/lib/rtsan/rtsan_suppressions.h compiler-rt/test/rtsan/stack_suppressions.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/test/rtsan/stack_suppressions.cpp b/compiler-rt/test/rtsan/stack_suppressions.cpp
index 024b1e75fd..95c02bb800 100644
--- a/compiler-rt/test/rtsan/stack_suppressions.cpp
+++ b/compiler-rt/test/rtsan/stack_suppressions.cpp
@@ -23,8 +23,7 @@ void VectorViolations() {
v.reserve(10);
}
-void BlockFunc() [[clang::blocking]] { /* do something blocking */
-}
+void BlockFunc() [[clang::blocking]] { /* do something blocking */ }
void *process() [[clang::nonblocking]] {
void *ptr = MallocViolation(); // Suppressed call-stack-contains
``````````
</details>
https://github.com/llvm/llvm-project/pull/112108
More information about the llvm-commits
mailing list