Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_fake_stack.cc45 FakeStack *FakeStack::Create(uptr stack_size_log) { in Create()
53 FakeStack *res = reinterpret_cast<FakeStack *>( in Create()
66 void FakeStack::Destroy(int tid) { in Destroy()
80 void FakeStack::PoisonAll(u8 magic) { in PoisonAll()
132 void FakeStack::HandleNoReturn() { in HandleNoReturn()
177 FakeStack *GetTLSFakeStack() { in GetTLSFakeStack()
180 void SetTLSFakeStack(FakeStack *fs) { in SetTLSFakeStack()
188 static FakeStack *GetFakeStack() { in GetFakeStack()
194 static FakeStack *GetFakeStackFast() { in GetFakeStackFast()
203 FakeStack *fs = GetFakeStackFast(); in OnMalloc()
[all …]
H A Dasan_thread.h100 FakeStack *t = fake_stack_; in DeleteFakeStack()
106 void StartSwitchFiber(FakeStack **fake_stack_save, uptr bottom, uptr size);
107 void FinishSwitchFiber(FakeStack *fake_stack_save, uptr *bottom_old,
115 FakeStack *fake_stack() { in fake_stack()
141 FakeStack *AsyncSignalSafeLazyInitFakeStack();
165 FakeStack *fake_stack_;
H A Dasan_fake_stack.h57 class FakeStack {
66 static FakeStack *Create(uptr stack_size_log);
159 FakeStack() { } in FakeStack() function
171 FakeStack *GetTLSFakeStack();
172 void SetTLSFakeStack(FakeStack *fs);
H A Dasan_thread.cc118 void AsanThread::StartSwitchFiber(FakeStack **fake_stack_save, uptr bottom, in StartSwitchFiber()
129 FakeStack *current_fake_stack = fake_stack_; in StartSwitchFiber()
139 void AsanThread::FinishSwitchFiber(FakeStack *fake_stack_save, in FinishSwitchFiber()
194 FakeStack *AsanThread::AsyncSignalSafeLazyInitFakeStack() { in AsyncSignalSafeLazyInitFakeStack()
214 fake_stack_ = FakeStack::Create(stack_size_log); in AsyncSignalSafeLazyInitFakeStack()
521 t->StartSwitchFiber((FakeStack**)fakestacksave, (uptr)bottom, size); in __sanitizer_start_switch_fiber()
533 t->FinishSwitchFiber((FakeStack*)fakestack, in __sanitizer_finish_switch_fiber()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp2958 Value *FakeStack; in processStaticAllocas() local
2986 FakeStack = createPHI(IRB, UseAfterReturnIsEnabled, FakeStackValue, Term, in processStaticAllocas()
2990 IRB.CreateICmpEQ(FakeStack, Constant::getNullValue(IntptrTy)); in processStaticAllocas()
2999 LocalStackBase = createPHI(IRB, NoFakeStack, AllocaValue, Term, FakeStack); in processStaticAllocas()
3006 FakeStack = ConstantInt::get(IntptrTy, 0); in processStaticAllocas()
3093 IRBRet.CreateICmpNE(FakeStack, Constant::getNullValue(IntptrTy)); in processStaticAllocas()
3105 FakeStack, in processStaticAllocas()
3116 {FakeStack, ConstantInt::get(IntptrTy, LocalStackSize)}); in processStaticAllocas()