[compiler-rt] compiler-rt: ubsan: match suppressions against inlined frames (PR #206735)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 30 07:20:29 PDT 2026


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 origin/main HEAD --extensions h,c,cpp -- compiler-rt/test/ubsan/TestCases/Integer/Inputs/suppressions-inline-origin-file.h compiler-rt/test/ubsan/TestCases/Integer/suppressions-inline-origin-file.c compiler-rt/test/ubsan/TestCases/Integer/suppressions-nested-inline-function.c compiler-rt/lib/ubsan/ubsan_diag.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/compiler-rt/test/ubsan/TestCases/Integer/Inputs/suppressions-inline-origin-file.h b/compiler-rt/test/ubsan/TestCases/Integer/Inputs/suppressions-inline-origin-file.h
index dba43a6fd..58dea73f8 100644
--- a/compiler-rt/test/ubsan/TestCases/Integer/Inputs/suppressions-inline-origin-file.h
+++ b/compiler-rt/test/ubsan/TestCases/Integer/Inputs/suppressions-inline-origin-file.h
@@ -1 +1,3 @@
-__attribute__((always_inline)) static inline int my_fun(unsigned a) { return a; }
+__attribute__((always_inline)) static inline int my_fun(unsigned a) {
+  return a;
+}

``````````

</details>


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


More information about the llvm-commits mailing list