]> granicus.if.org Git - clang/commit
[AIX][test/Index] Set/propagate AIXTHREAD_STK for AIX
authorHubert Tong <hubert.reinterpretcast@gmail.com>
Tue, 13 Aug 2019 13:38:15 +0000 (13:38 +0000)
committerHubert Tong <hubert.reinterpretcast@gmail.com>
Tue, 13 Aug 2019 13:38:15 +0000 (13:38 +0000)
commit3eeb73f0dd107f92078afe1033536349e565c4df
tree8008fc9db162d4c7786976af44685e5c7157821b
parent8a955eac74c7e2ee168861f1c470c673828f7001
[AIX][test/Index] Set/propagate AIXTHREAD_STK for AIX

Summary:
Some tests perform deep recursion, which requires a larger pthread stack
size than the relatively low default of 192 KiB for 64-bit processes on
AIX. The `AIXTHREAD_STK` environment variable provides a non-intrusive
way to request a larger pthread stack size for the tests. The required
pthread stack size depends on the build configuration.

A 4 MiB default is generous compared to the 512 KiB of macOS; however,
it is known that some compilers on AIX produce code that uses
comparatively more stack space.

Reviewers: xingxue, daltenty, jasonliu

Reviewed By: daltenty

Subscribers: arphaman, jfb, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D65688

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@368690 91177308-0d34-0410-b5e6-96231b3b80d8
test/Index/lit.local.cfg [new file with mode: 0644]