Searched refs:child_context (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Linux/ |
| H A D | swapcontext_test.cpp | 19 ucontext_t child_context; variable 46 if (swapcontext(&child_context, &orig_context) < 0) { in Child() 56 memset(&child_context, 0xff, sizeof(child_context)); in Run() 57 getcontext(&child_context); in Run() 58 assert(child_context.uc_stack.ss_size == 0); in Run() 59 child_context.uc_stack.ss_sp = child_stack; in Run() 60 child_context.uc_stack.ss_size = kStackSize / 2; in Run() 62 child_context.uc_link = &orig_context; in Run() 64 makecontext(&child_context, (void (*)())Child, 1, mode); in Run() 66 if (swapcontext(&orig_context, &child_context) < 0) { in Run()
|
| H A D | swapcontext_annotation.cpp | 29 ucontext_t child_context; variable 96 if (swapcontext(&child_context, &orig_context) < 0) { in Child() 110 if (swapcontext(&child_context, &next_child_context) < 0) { in Child() 120 getcontext(&child_context); in Run() 121 child_context.uc_stack.ss_sp = child_stack; in Run() 122 child_context.uc_stack.ss_size = kStackSize / 2; in Run() 124 child_context.uc_link = &orig_context; in Run() 126 makecontext(&child_context, (void (*)())Child, 1, mode); in Run() 129 __sanitizer_start_switch_fiber(&fake_stack_save, child_context.uc_stack.ss_sp, in Run() 130 child_context.uc_stack.ss_size); in Run() [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/lsan/TestCases/ |
| H A D | swapcontext.cpp | 29 ucontext_t child_context; in main() local 30 getcontext(&child_context); in main() 31 child_context.uc_stack.ss_sp = child_stack; in main() 32 child_context.uc_stack.ss_size = kStackSize / 2; in main() 33 child_context.uc_link = &orig_context; in main() 34 makecontext(&child_context, Child, 0); in main() 35 if (swapcontext(&orig_context, &child_context) < 0) { in main()
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/PDB/ |
| H A D | PDBASTParser.cpp | 1064 if (clang::DeclContext *child_context = in GetDeclContextContainingSymbol() local 1071 curr_context = child_context; in GetDeclContextContainingSymbol()
|