Page MenuHomePhabricator

[AIX][test/Index] Set/propagate AIXTHREAD_STK for AIX
ClosedPublic

Authored by hubert.reinterpretcast on Aug 2 2019, 5:57 PM.

Details

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.

Diff Detail

Repository
rL LLVM

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptAug 2 2019, 5:57 PM
Herald added subscribers: jfb, arphaman. · View Herald Transcript
This revision is now accepted and ready to land.Aug 6 2019, 12:33 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptAug 13 2019, 6:39 AM