[compiler-rt] [sanitizer_common] Implement address sanitizer on AIX: stack unwinding (PR #138188)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 7 21:54:35 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 -- compiler-rt/lib/sanitizer_common/sanitizer_unwind_aix.cpp
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_unwind_aix.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_unwind_aix.cpp
index 02f287dc7..0aaf6bdab 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_unwind_aix.cpp
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_unwind_aix.cpp
@@ -25,7 +25,8 @@ struct UnwindTraceArg {
   u32 max_depth;
 };
 
-static _Unwind_Reason_Code Unwind_Trace(struct _Unwind_Context *ctx, void *param) {
+static _Unwind_Reason_Code Unwind_Trace(struct _Unwind_Context *ctx,
+                                        void *param) {
   UnwindTraceArg *arg = (UnwindTraceArg *)param;
   CHECK_LT(arg->stack->size, arg->max_depth);
   uptr pc = _Unwind_GetIP(ctx);

``````````

</details>


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


More information about the llvm-commits mailing list