Home
last modified time | relevance | path

Searched refs:next_child_context (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Linux/
H A Dswapcontext_annotation.cpp30 ucontext_t next_child_context; variable
71 if (swapcontext(&next_child_context, &orig_context) < 0) { in NextChild()
103 getcontext(&next_child_context); in Child()
104 next_child_context.uc_stack.ss_sp = next_child_stack; in Child()
105 next_child_context.uc_stack.ss_size = kStackSize / 2; in Child()
106 makecontext(&next_child_context, (void (*)())NextChild, 0); in Child()
107 __sanitizer_start_switch_fiber(nullptr, next_child_context.uc_stack.ss_sp, in Child()
108 next_child_context.uc_stack.ss_size); in Child()
110 if (swapcontext(&child_context, &next_child_context) < 0) { in Child()