Home | History | Annotate | Download | only in sanitizer_common

Lines Matching refs:stacksize

51     // Get stacksize from rlimit, but clip it so that it does not overlap
53 uptr stacksize = rl.rlim_cur;
54 if (stacksize > end - prev_end)
55 stacksize = end - prev_end;
59 if (stacksize > kMaxThreadStackSize)
60 stacksize = kMaxThreadStackSize;
62 *stack_bottom = end - stacksize;
68 uptr stacksize = 0;
70 pthread_attr_getstack(&attr, &stackaddr, (size_t*)&stacksize);
73 CHECK_LE(stacksize, kMaxThreadStackSize); // Sanity check.
74 *stack_top = (uptr)stackaddr + stacksize;
267 size_t stacksize = 0;
268 pthread_attr_getstack(attr, (void**)&stackaddr, &stacksize);
269 // GLibC will return (0 - stacksize) as the stack address in the case when
270 // stacksize is set, but stackaddr is not.
271 bool stack_set = (stackaddr != 0) && (stackaddr + stacksize != 0);
274 if (stacksize < minstacksize) {
276 if (verbosity && stacksize != 0)
277 Printf("Sanitizer: increasing stacksize %zu->%zu\n", stacksize,
282 "%zu < %zu\n", stacksize, minstacksize);