[all-commits] [llvm/llvm-project] beae31: [test][asan] Reduce recursion to avoid stack overflow

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri Aug 11 14:25:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: beae315238319c395e65ad1b6686cac1206657e8
      https://github.com/llvm/llvm-project/commit/beae315238319c395e65ad1b6686cac1206657e8
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-08-11 (Fri, 11 Aug 2023)

  Changed paths:
    M compiler-rt/test/asan/TestCases/Posix/fake_stack_gc.cpp

  Log Message:
  -----------
  [test][asan] Reduce recursion to avoid stack overflow

D157552 uses 1000 as over pessimistic value.

We don't want to hardcode stack frame sizeclass of the
Thread frame, so iterate various frame sizes to trigger
reuse.

100 is also significantly above Thread frame, but it's
small enough to avoid overflow.




More information about the All-commits mailing list