Home | History | Annotate | Download | only in asan

Lines Matching refs:AsanThread

39   // Drop the link to the AsanThread object.
91 // AsanThread implementation.
93 AsanThread *AsanThread::Create(const void *start_data, uptr data_size,
97 uptr size = RoundUpTo(sizeof(AsanThread), PageSize);
98 AsanThread *thread = (AsanThread *)MmapOrDie(size, __func__);
110 void AsanThread::GetStartData(void *out, uptr out_size) const {
114 void AsanThread::TSDDtor(void *tsd) {
121 void AsanThread::Destroy() {
128 if (AsanThread *thread = GetCurrentThread())
142 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCached());
148 void AsanThread::StartSwitchFiber(FakeStack **fake_stack_save, uptr bottom,
169 void AsanThread::FinishSwitchFiber(FakeStack *fake_stack_save, uptr *bottom_old,
192 inline AsanThread::StackBounds AsanThread::GetStackBounds() const {
209 uptr AsanThread::stack_top() { return GetStackBounds().top; }
211 uptr AsanThread::stack_bottom() { return GetStackBounds().bottom; }
213 uptr AsanThread::stack_size() {
220 FakeStack *AsanThread::AsyncSignalSafeLazyInitFakeStack() {
248 void AsanThread::Init(const InitOptions *options) {
265 // Most platforms call AsanThread::Init on the newly-spawned thread, but
282 void AsanThread::ThreadStart(tid_t os_id) {
290 AsanThread *CreateMainThread() {
291 AsanThread *main_thread = AsanThread::Create(
302 void AsanThread::SetThreadStackAndTls(const InitOptions *options) {
321 void AsanThread::ClearShadowForThreadStackAndTLS() {
331 bool AsanThread::GetStackFrameAccessByAddr(uptr addr,
376 uptr AsanThread::GetStackVariableShadowStart(uptr addr) {
402 bool AsanThread::AddrIsInStack(uptr addr) {
410 AsanThread *t = tctx->thread;
421 AsanThread *GetCurrentThread() {
442 void SetCurrentThread(AsanThread *t) {
446 // Make sure we do not reset the current AsanThread.
453 AsanThread *t = GetCurrentThread();
457 AsanThread *FindThreadByStackAddress(uptr addr) {
472 __asan::AsanThread *GetAsanThreadByOsIDLocked(tid_t os_id) {
503 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id);
521 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id);
568 AsanThread *t = GetCurrentThread();
579 AsanThread *t = GetCurrentThread();