llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-compiler-rt-sanitizer Author: Fangrui Song (MaskRay) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/79009.diff 1 Files Affected: - (modified) compiler-rt/test/asan/TestCases/alloca_loop_unpoisoning.cpp (+4-2) ``````````diff diff --git a/compiler-rt/test/asan/TestCases/alloca_loop_unpoisoning.cpp b/compiler-rt/test/asan/TestCases/alloca_loop_unpoisoning.cpp index bf84ab3d20d7de..0967b34dc7dbfe 100644 --- a/compiler-rt/test/asan/TestCases/alloca_loop_unpoisoning.cpp +++ b/compiler-rt/test/asan/TestCases/alloca_loop_unpoisoning.cpp @@ -25,12 +25,14 @@ __attribute__((noinline)) void foo(int len) { char x; top = &x; volatile char array[len]; - if (len) array[0] = 0; + if (len) + array[0] = 0; assert(!(reinterpret_cast<uintptr_t>(array) & 31L)); alloca(len); for (int i = 0; i < 32; ++i) { volatile char array[i]; - if (i) array[0] = 0; + if (i) + array[0] = 0; bot = alloca(i); assert(!(reinterpret_cast<uintptr_t>(bot) & 31L)); } `````````` </details> https://github.com/llvm/llvm-project/pull/79009 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits