[compiler-rt] [HWASan] add test for hwasan_symbolize of stack uas (PR #95186)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 11 18:19:19 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 00c5474918dac1a382c63628ed0844a354a0761f c56ab852b9eb70b83c1c14b93dc653892682ca84 -- compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp b/compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp
index a88f12aaa6..3d633e66f1 100644
--- a/compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp
+++ b/compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp
@@ -7,7 +7,7 @@
 static volatile char sink;
 
 int main(int argc, char **argv) {
-  volatile char* y;
+  volatile char *y;
   {
     volatile char x[10];
     y = &x[0];

``````````

</details>


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


More information about the llvm-commits mailing list