| /llvm-project-15.0.7/libc/src/pthread/ |
| H A D | pthread_attr_setstack.cpp | 22 size_t stacksize)) { 23 if (stacksize < PTHREAD_STACK_MIN) 26 if ((stackaddr % 16 != 0) || ((stackaddr + stacksize) % 16 != 0)) 29 attr->__stacksize = stacksize;
|
| H A D | pthread_attr_setstacksize.cpp | 20 (pthread_attr_t *__restrict attr, size_t stacksize)) { 21 if (stacksize < PTHREAD_STACK_MIN) 24 attr->__stacksize = stacksize;
|
| H A D | pthread_attr_getstacksize.cpp | 19 size_t *__restrict stacksize)) { 20 *stacksize = attr->__stacksize;
|
| H A D | pthread_attr_getstack.cpp | 19 void **__restrict stack, size_t *__restrict stacksize)) { 21 *stacksize = attr->__stacksize;
|
| H A D | pthread_attr_setstacksize.h | 16 int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize);
|
| H A D | pthread_attr_setstack.h | 16 int pthread_attr_setstack(pthread_attr_t *attr, void *stack, size_t stacksize);
|
| H A D | pthread_attr_getstacksize.h | 17 size_t *__restrict stacksize);
|
| H A D | pthread_attr_getstack.h | 18 size_t *__restrict stacksize);
|
| /llvm-project-15.0.7/libc/test/src/pthread/ |
| H A D | pthread_attr_test.cpp | 81 size_t stacksize; in TEST() local 84 ASSERT_EQ(__llvm_libc::pthread_attr_getstacksize(&attr, &stacksize), 0); in TEST() 85 ASSERT_EQ(stacksize, size_t(PTHREAD_STACK_MIN << 2)); in TEST() 99 size_t stacksize; in TEST() local 102 ASSERT_EQ(__llvm_libc::pthread_attr_getstack(&attr, &stack, &stacksize), 0); in TEST() 103 ASSERT_EQ(stacksize, size_t(PTHREAD_STACK_MIN << 2)); in TEST()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_posix_libcdep.cpp | 399 uptr stacksize = 0; in AdjustStackSize() local 400 my_pthread_attr_getstack(attr, (void**)&stackaddr, &stacksize); in AdjustStackSize() 403 bool stack_set = (stackaddr != 0) && (stackaddr + stacksize != 0); in AdjustStackSize() 406 if (stacksize < minstacksize) { in AdjustStackSize() 408 if (stacksize != 0) { in AdjustStackSize() 409 VPrintf(1, "Sanitizer: increasing stacksize %zu->%zu\n", stacksize, in AdjustStackSize() 415 "%zu < %zu\n", stacksize, minstacksize); in AdjustStackSize()
|
| H A D | sanitizer_linux_libcdep.cpp | 129 uptr stacksize = rl.rlim_cur; in GetThreadStackTopAndBottom() local 130 if (stacksize > segment.end - prev_end) stacksize = segment.end - prev_end; in GetThreadStackTopAndBottom() 134 if (stacksize > kMaxThreadStackSize) in GetThreadStackTopAndBottom() 135 stacksize = kMaxThreadStackSize; in GetThreadStackTopAndBottom() 137 *stack_bottom = segment.end - stacksize; in GetThreadStackTopAndBottom() 140 uptr stacksize = 0; in GetThreadStackTopAndBottom() local 145 stacksize = ss.ss_size; in GetThreadStackTopAndBottom() 146 stackaddr = (char *)ss.ss_sp - stacksize; in GetThreadStackTopAndBottom() 151 my_pthread_attr_getstack(&attr, &stackaddr, &stacksize); in GetThreadStackTopAndBottom() 155 *stack_top = (uptr)stackaddr + stacksize; in GetThreadStackTopAndBottom()
|
| H A D | sanitizer_mac.cpp | 414 uptr stacksize = pthread_get_stacksize_np(pthread_self()); in GetThreadStackTopAndBottom() local 419 stacksize == (1 << 19)) { in GetThreadStackTopAndBottom() 424 stacksize = rl.rlim_cur; in GetThreadStackTopAndBottom() 426 stacksize = kMaxThreadStackSize; in GetThreadStackTopAndBottom() 431 *stack_bottom = *stack_top - stacksize; in GetThreadStackTopAndBottom()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_linux_test.cpp | 197 size_t stacksize; in thread_descriptor_size_test_func() local 198 pthread_attr_getstack(&attr, &stackaddr, &stacksize); in thread_descriptor_size_test_func() 199 return (void *)((uptr)stackaddr + stacksize - descr_addr); in thread_descriptor_size_test_func()
|
| /llvm-project-15.0.7/lld/MachO/ |
| H A D | MachOStructs.h | 44 llvm::support::ulittle64_t stacksize; member
|
| /llvm-project-15.0.7/llvm/test/ObjectYAML/MachO/ |
| H A D | load_commands.yaml | 112 stacksize: 0 238 #CHECK: stacksize: 0
|
| H A D | export_trie.yaml | 114 stacksize: 0
|
| H A D | null_string_entries.yaml | 113 stacksize: 0
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | tailcc-stackalign.ll | 18 ; expect match subl [stacksize] here
|
| H A D | tailcall-stackalign.ll | 18 ; expect match subl [stacksize] here
|
| /llvm-project-15.0.7/llvm/test/Transforms/Inline/ |
| H A D | inline-stacksize.ll | 3 ; RUN: opt < %s -inline -S -inline-max-stacksize=256 | FileCheck --check-prefixes=ALL,LIMITED %s
|
| H A D | inline-recur-stacksize.ll | 3 ; RUN: opt < %s -inline -S -recursive-inline-max-stacksize=256 | FileCheck --check-prefixes=ALL,LIM…
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/MachO/ |
| H A D | segment-size-alignment.test | 172 stacksize: 0 389 stacksize: 0 606 stacksize: 0 823 stacksize: 0
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | std-c-library-functions-POSIX.c | 284 int pthread_attr_getstacksize(const pthread_attr_t *restrict attr, size_t *restrict stacksize); 286 int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize);
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/MachO/Inputs/ |
| H A D | strip-chained-fixups.yaml | 129 stacksize: 0
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/module_cache/universal/ |
| H A D | universal.yaml | 144 stacksize: 0 397 stacksize: 0
|