Home
last modified time | relevance | path

Searched refs:stack_size (Results 1 – 25 of 44) sorted by relevance

12

/llvm-project/compiler-rt/test/tsan/
H A Ddeep_stack1.cpp38 size_t stack_size = N * 256 + (1 << 20); in main() local
39 stack_size = RoundUp(stack_size, 0x10000); // round the stack size to 64k in main()
40 int ret = pthread_attr_setstacksize(&a, stack_size); in main()
/llvm-project/lldb/source/Target/
H A DThreadPlanStack.cpp187 int stack_size = m_plans.size(); in DiscardPlansUpToPlan()
190 for (int i = stack_size - 1; i > 0; i--) in DiscardPlansUpToPlan()
196 for (int i = stack_size - 1; i > 0; i--) { in DiscardPlansUpToPlan()
205 for (int i = stack_size - 1; i > 0 && !last_one; i--) { in DiscardPlansUpToPlan()
215 int stack_size = m_plans.size(); in DiscardConsultingControllingPlans()
216 for (int i = stack_size - 1; i > 0; i--) { in DiscardConsultingControllingPlans()
365 int stack_size = m_completed_plans.size(); in GetPreviousPlan()
366 for (int i = stack_size - 1; i > 0; i--) { in GetPreviousPlan()
373 if (stack_size > 0 && m_completed_plans[0].get() == current_plan) { in GetPreviousPlan()
378 stack_size in GetInnermostExpression() local
181 int stack_size = m_plans.size(); DiscardPlansUpToPlan() local
209 int stack_size = m_plans.size(); DiscardAllPlans() local
355 int stack_size = m_completed_plans.size(); GetPreviousPlan() local
[all...]
/llvm-project/compiler-rt/lib/asan/
H A Dasan_fuchsia.cpp115 uptr stack_bottom, stack_size; member
139 CHECK_NE(options->stack_size, 0); in SetThreadStackAndTls()
141 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls()
172 uptr stack_size) { in BeforeThreadCreateHook()
186 const AsanThread::InitOptions options = {stack_bottom, stack_size}; in BeforeThreadCreateHook()
255 size_t stack_size) { in __sanitizer_before_thread_create_hook()
258 reinterpret_cast<uptr>(stack_base), stack_size); in __sanitizer_before_thread_create_hook()
173 BeforeThreadCreateHook(uptr user_id,bool detached,const char * name,uptr stack_bottom,uptr stack_size) BeforeThreadCreateHook() argument
256 __sanitizer_before_thread_create_hook(thrd_t thread,bool detached,const char * name,void * stack_base,size_t stack_size) __sanitizer_before_thread_create_hook() argument
H A Dasan_thread.cpp216 uptr AsanThread::stack_size() { in stack_bottom()
224 uptr stack_size = this->stack_size();
225 if (stack_size == 0) // stack_size is not yet available, don't use FakeStack. in AsyncSignalSafeLazyInitFakeStack()
237 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size)); in AsyncSignalSafeLazyInitFakeStack()
255 CHECK_EQ(this->stack_size(), 0U); in Init()
258 CHECK_GT(this->stack_size(), 0U); in Init()
218 uptr AsanThread::stack_size() { stack_size() function in __asan::AsanThread
226 uptr stack_size = this->stack_size(); AsyncSignalSafeLazyInitFakeStack() local
310 uptr stack_size = 0; SetThreadStackAndTls() local
H A Dasan_posix.cpp62 uptr default_bottom, tls_addr, tls_size, stack_size; PlatformUnpoisonStacks() local
H A Dasan_win.cpp153 SIZE_T stack_size, LPTHREAD_START_ROUTINE start_routine, in INTERCEPTOR_WINAPI() argument
165 return REAL(CreateThread)(security, stack_size, asan_thread_start, t, in INTERCEPTOR_WINAPI()
H A Dasan_rtl.cpp583 uptr tls_addr, tls_size, stack_size; UnpoisonDefaultStack() local
/llvm-project/compiler-rt/lib/asan/tests/
H A Dasan_fake_stack_test.cpp47 uptr stack_size = 1UL << stack_size_log; in TEST() local
52 uptr num_flags = stack_size / frame_size; in TEST()
94 const uptr stack_size = 1 << stack_size_log; in TEST() local
99 EXPECT_EQ(base + 0*stack_size + 64 * 7, fs->GetFrame(stack_size_log, 0, 7U)); in TEST()
100 EXPECT_EQ(base + 1*stack_size + 128 * 3, fs->GetFrame(stack_size_log, 1, 3U)); in TEST()
101 EXPECT_EQ(base + 2*stack_size + 256 * 5, fs->GetFrame(stack_size_log, 2, 5U)); in TEST()
/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp114 uptr MemprofThread::stack_size() {
120 CHECK_EQ(this->stack_size(), 0U); in stack_size()
123 CHECK_GT(this->stack_size(), 0U); in Init()
117 uptr MemprofThread::stack_size() { stack_size() function in __memprof::MemprofThread
172 uptr stack_size = 0; SetThreadStackAndTls() local
/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_fuchsia.cpp96 uptr stack_size) { in BeforeThreadCreateHook() argument
99 .stack_top = stack_bottom + stack_size, in BeforeThreadCreateHook()
217 size_t stack_size) { in __sanitizer_before_thread_create_hook() argument
220 reinterpret_cast<uptr>(stack_base), stack_size); in __sanitizer_before_thread_create_hook()
H A Dhwasan_thread_list.h173 stats_.total_stack_size += t->stack_size(); in AddThreadStats()
179 stats_.total_stack_size -= t->stack_size(); in RemoveThreadStats()
H A Dhwasan_linux.cpp494 uptr stack_size; InitStackAndTls() local
/llvm-project/openmp/runtime/src/
H A Dkmp_stats.cpp293 size_t stack_size; in push() local
296 stack_size = timer_stack.size(); in push()
297 current_timer = &(timer_stack[stack_size - 2]); in push()
298 new_timer = &(timer_stack[stack_size - 1]); in push()
311 size_t stack_size = timer_stack.size(); in pop() local
312 KMP_DEBUG_ASSERT(stack_size > 1); in pop()
313 old_timer = &(timer_stack[stack_size - 1]); in pop()
314 new_timer = &(timer_stack[stack_size - 2]); in pop()
327 size_t stack_size; in exchange() local
330 stack_size = timer_stack.size(); in exchange()
[all …]
H A Dkmp_error.cpp68 p->stack_size = (p->stack_size * 2) + 100; in __kmp_expand_cons_stack()
72 (p->stack_size + 1)); in __kmp_expand_cons_stack()
145 p->stack_size = MIN_STACK; in __kmp_allocate_cons_stack()
200 if (p->stack_top >= p->stack_size) { in __kmp_push_parallel()
218 if (p->stack_top >= p->stack_size) { in __kmp_check_workshare()
259 if (p->stack_top >= p->stack_size)
H A Dz_Windows_NT_util.cpp1144 void __kmp_create_worker(int gtid, kmp_info_t *th, size_t stack_size) { in __kmp_create_worker() argument
1182 stack_size)); in __kmp_create_worker()
1184 stack_size += gtid * __kmp_stkoffset; in __kmp_create_worker()
1186 TCW_PTR(th->th.th_info.ds.ds_stacksize, stack_size); in __kmp_create_worker()
1192 (SIZE_T)stack_size, (LPTHREAD_START_ROUTINE)&__kmp_launch_worker, in __kmp_create_worker()
1196 NULL, (SIZE_T)stack_size, (LPTHREAD_START_ROUTINE)__kmp_launch_worker, in __kmp_create_worker()
1203 (SIZE_T)stack_size, (LPTHREAD_START_ROUTINE)&__kmp_launch_worker, in __kmp_create_worker()
/llvm-project/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c469 uint32_t stack_size = in print_encoding_x86_64() local
485 stack_size = *((uint32_t *)(function_start + offset_to_subl_insn)); in print_encoding_x86_64()
487 stack_size += stack_adjust * 8; in print_encoding_x86_64()
494 stack_size * 8, register_count); in print_encoding_x86_64()
497 stack_size, register_count); in print_encoding_x86_64()
586 printf(" CFA is rsp+%d ", stack_size); in print_encoding_x86_64()
588 printf(" CFA is rsp+%d ", stack_size * 8); in print_encoding_x86_64()
685 uint32_t stack_size = in print_encoding_i386() local
701 stack_size = *((uint32_t *)(function_start + offset_to_subl_insn)); in print_encoding_i386()
703 stack_size += stack_adjust * 4; in print_encoding_i386()
[all …]
/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_thread.cpp25 uptr stack_size = 0; SetThreadStackAndTls() local
/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_posix.cpp53 uptr stack_size = 0; ThreadStart() local
H A Dlsan_fuchsia.cpp97 size_t stack_size) { in __sanitizer_before_thread_create_hook() argument
102 args.stack_end = args.stack_begin + stack_size; in __sanitizer_before_thread_create_hook()
/llvm-project/compiler-rt/lib/msan/
H A Dmsan_thread.cpp24 uptr stack_size = 0; SetThreadStackAndTls() local
/llvm-project/lldb/test/API/functionalities/postmortem/elf-core/gcore/
H A Dmake-core.sh30 stack_size=`ulimit -s`
46 ulimit -s $stack_size
/llvm-project/lldb/test/API/functionalities/postmortem/elf-core/thread_crash/
H A Dmake-core.sh54 stack_size=`ulimit -s`
64 ulimit -s $stack_size
/llvm-project/lldb/test/API/python_api/find_in_memory/
H A Daddress_ranges_helper.py
/llvm-project/lldb/source/Symbol/
H A DCompactUnwindInfo.cpp801 uint32_t stack_size = EXTRACT_BITS(function_info.encoding, in CreateUnwindPlan_x86_64() local
829 stack_size = large_stack_size + (stack_adjust * wordsize); in CreateUnwindPlan_x86_64()
842 ? stack_size in CreateUnwindPlan_x86_64()
843 : stack_size * wordsize; in CreateUnwindPlan_x86_64()
1066 uint32_t stack_size = in CreateUnwindPlan_i386() local
1094 stack_size = large_stack_size + (stack_adjust * wordsize); in CreateUnwindPlan_i386()
1107 mode == UNWIND_X86_MODE_STACK_IND ? stack_size : stack_size * wordsize; in CreateUnwindPlan_i386()
1327 uint32_t stack_size = in CreateUnwindPlan_arm64() local
1333 row->GetCFAValue().SetIsRegisterPlusOffset(arm64_eh_regnum::sp, stack_size); in CreateUnwindPlan_arm64()
/llvm-project/clang/test/CodeGen/
H A D2002-02-14-EntryNodePreds.c25 int stack_size; member

12