Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/test/asan/TestCases/Posix/
Dunpoison-alternate-stack.cpp86 void setSignalAlternateStack(void *AltStack) { in setSignalAlternateStack() argument
87 sigaltstack((stack_t const *)AltStack, nullptr); in setSignalAlternateStack()
105 void *threadFun(void *AltStack) { in threadFun() argument
109 setSignalAlternateStack(AltStack); in threadFun()
156 stack_t AltStack = {}; in main() local
157 AltStack.ss_sp = (char *)Mapping + DefaultStackSize; in main()
158 AltStack.ss_flags = 0; in main()
159 AltStack.ss_size = AltStackSize; in main()
165 pthread_create(&Thread, &ThreadAttr, &threadFun, (void *)&AltStack); in main()
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DSignals.inc140 stack_t AltStack = {};
141 AltStack.ss_sp = reinterpret_cast<char *>(malloc(AltStackSize));
142 NewAltStackPointer = AltStack.ss_sp; // Save to avoid reporting a leak.
143 AltStack.ss_size = AltStackSize;
144 if (sigaltstack(&AltStack, &OldAltStack) != 0)
145 free(AltStack.ss_sp);
/external/llvm/lib/Support/Unix/
DSignals.inc141 stack_t AltStack = {};
142 AltStack.ss_sp = reinterpret_cast<char *>(malloc(AltStackSize));
143 AltStack.ss_size = AltStackSize;
144 if (sigaltstack(&AltStack, &OldAltStack) != 0)
145 free(AltStack.ss_sp);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DSignals.inc272 stack_t AltStack = {};
273 AltStack.ss_sp = static_cast<char *>(safe_malloc(AltStackSize));
274 NewAltStackPointer = AltStack.ss_sp; // Save to avoid reporting a leak.
275 AltStack.ss_size = AltStackSize;
276 if (sigaltstack(&AltStack, &OldAltStack) != 0)
277 free(AltStack.ss_sp);
/external/llvm-project/llvm/lib/Support/Unix/
DSignals.inc272 stack_t AltStack = {};
273 AltStack.ss_sp = static_cast<char *>(safe_malloc(AltStackSize));
274 NewAltStackPointer = AltStack.ss_sp; // Save to avoid reporting a leak.
275 AltStack.ss_size = AltStackSize;
276 if (sigaltstack(&AltStack, &OldAltStack) != 0)
277 free(AltStack.ss_sp);