diff options
author | Yi Kong <yikong@google.com> | 2019-07-25 22:29:55 +0000 |
---|---|---|
committer | Yi Kong <yikong@google.com> | 2019-07-25 22:29:55 +0000 |
commit | 3d21a3af8716658b257830461e33673d49906271 (patch) | |
tree | 366d4f34b958616366d737e294e5df6041e2af27 /lldb/packages/Python/lldbsuite/test/redo.py | |
parent | 8f15d40555f2597bd90863f8e9ab908c315191c2 (diff) | |
download | llvm-3d21a3af8716658b257830461e33673d49906271.zip llvm-3d21a3af8716658b257830461e33673d49906271.tar.gz llvm-3d21a3af8716658b257830461e33673d49906271.tar.bz2 |
[openmp] Workaround bug in old Android pthread_attr_setstacksize
Round the stack size to a multiple of the page size. Older versions of
Android (until KitKat) would fail pthread_attr_setstacksize with
EINVAL if the stack size was not a multiple of the page size.
Patch by Dan Albert <danalbert@google.com>.
Test: Build, copied into the NDK, passed openmp test on ICS.
Bug: https://github.com/android-ndk/ndk/issues/9
llvm-svn: 367070
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/redo.py')
0 files changed, 0 insertions, 0 deletions