Home
last modified time | relevance | path

Searched refs:stacksize (Results 1 – 25 of 66) sorted by relevance

123

/llvm-project-15.0.7/libc/src/pthread/
H A Dpthread_attr_setstack.cpp22 size_t stacksize)) {
23 if (stacksize < PTHREAD_STACK_MIN)
26 if ((stackaddr % 16 != 0) || ((stackaddr + stacksize) % 16 != 0))
29 attr->__stacksize = stacksize;
H A Dpthread_attr_setstacksize.cpp20 (pthread_attr_t *__restrict attr, size_t stacksize)) {
21 if (stacksize < PTHREAD_STACK_MIN)
24 attr->__stacksize = stacksize;
H A Dpthread_attr_getstacksize.cpp19 size_t *__restrict stacksize)) {
20 *stacksize = attr->__stacksize;
H A Dpthread_attr_getstack.cpp19 void **__restrict stack, size_t *__restrict stacksize)) {
21 *stacksize = attr->__stacksize;
H A Dpthread_attr_setstacksize.h16 int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize);
H A Dpthread_attr_setstack.h16 int pthread_attr_setstack(pthread_attr_t *attr, void *stack, size_t stacksize);
H A Dpthread_attr_getstacksize.h17 size_t *__restrict stacksize);
H A Dpthread_attr_getstack.h18 size_t *__restrict stacksize);
/llvm-project-15.0.7/libc/test/src/pthread/
H A Dpthread_attr_test.cpp81 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 Dsanitizer_posix_libcdep.cpp399 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 Dsanitizer_linux_libcdep.cpp129 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 Dsanitizer_mac.cpp414 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 Dsanitizer_linux_test.cpp197 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 DMachOStructs.h44 llvm::support::ulittle64_t stacksize; member
/llvm-project-15.0.7/llvm/test/ObjectYAML/MachO/
H A Dload_commands.yaml112 stacksize: 0
238 #CHECK: stacksize: 0
H A Dexport_trie.yaml114 stacksize: 0
H A Dnull_string_entries.yaml113 stacksize: 0
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dtailcc-stackalign.ll18 ; expect match subl [stacksize] here
H A Dtailcall-stackalign.ll18 ; expect match subl [stacksize] here
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A Dinline-stacksize.ll3 ; RUN: opt < %s -inline -S -inline-max-stacksize=256 | FileCheck --check-prefixes=ALL,LIMITED %s
H A Dinline-recur-stacksize.ll3 ; 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 Dsegment-size-alignment.test172 stacksize: 0
389 stacksize: 0
606 stacksize: 0
823 stacksize: 0
/llvm-project-15.0.7/clang/test/Analysis/
H A Dstd-c-library-functions-POSIX.c284 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 Dstrip-chained-fixups.yaml129 stacksize: 0
/llvm-project-15.0.7/lldb/test/API/functionalities/module_cache/universal/
H A Duniversal.yaml144 stacksize: 0
397 stacksize: 0

123