[compiler-rt] [Sanitizers][Darwin] Add atos-canary test (PR #209338)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 13 16:49:43 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 cpp -- compiler-rt/test/asan/TestCases/Darwin/atos-canary-symbolize.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/asan/TestCases/Darwin/atos-canary-symbolize.cpp b/compiler-rt/test/asan/TestCases/Darwin/atos-canary-symbolize.cpp
index 86be771a2..2cffea0f2 100644
--- a/compiler-rt/test/asan/TestCases/Darwin/atos-canary-symbolize.cpp
+++ b/compiler-rt/test/asan/TestCases/Darwin/atos-canary-symbolize.cpp
@@ -68,6 +68,7 @@ __attribute__((noinline)) void boom(int *p) {
int main() {
int *p = new int[4];
delete[] p;
- boom(p); // <-- frame #1 call site; the CHECK #1 [[@LINE]] anchor resolves here
+ boom(
+ p); // <-- frame #1 call site; the CHECK #1 [[@LINE]] anchor resolves here
return 0;
}
\ No newline at end of file
``````````
</details>
https://github.com/llvm/llvm-project/pull/209338
More information about the llvm-commits
mailing list