Home | History | Annotate | Download | only in asan

Lines Matching refs:AsanThread

38   // Drop the link to the AsanThread object.
75 // AsanThread implementation.
77 AsanThread *AsanThread::Create(thread_callback_t start_routine, void *arg,
81 uptr size = RoundUpTo(sizeof(AsanThread), PageSize);
82 AsanThread *thread = (AsanThread*)MmapOrDie(size, __func__);
92 void AsanThread::TSDDtor(void *tsd) {
99 void AsanThread::Destroy() {
106 if (AsanThread *thread = GetCurrentThread())
120 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCached());
126 void AsanThread::StartSwitchFiber(FakeStack **fake_stack_save, uptr bottom,
147 void AsanThread::FinishSwitchFiber(FakeStack *fake_stack_save,
171 inline AsanThread::StackBounds AsanThread::GetStackBounds() const {
187 uptr AsanThread::stack_top() {
191 uptr AsanThread::stack_bottom() {
195 uptr AsanThread::stack_size() {
202 FakeStack *AsanThread::AsyncSignalSafeLazyInitFakeStack() {
230 void AsanThread::Init(const InitOptions *options) {
247 // Most platforms call AsanThread::Init on the newly-spawned thread, but
264 thread_return_t AsanThread::ThreadStart(tid_t os_id) {
291 AsanThread *CreateMainThread() {
292 AsanThread *main_thread = AsanThread::Create(
303 void AsanThread::SetThreadStackAndTls(const InitOptions *options) {
321 void AsanThread::ClearShadowForThreadStackAndTLS() {
333 bool AsanThread::GetStackFrameAccessByAddr(uptr addr,
378 uptr AsanThread::GetStackVariableShadowStart(uptr addr) {
404 bool AsanThread::AddrIsInStack(uptr addr) {
412 AsanThread *t = tctx->thread;
423 AsanThread *GetCurrentThread() {
444 void SetCurrentThread(AsanThread *t) {
448 // Make sure we do not reset the current AsanThread.
455 AsanThread *t = GetCurrentThread();
459 AsanThread *FindThreadByStackAddress(uptr addr) {
474 __asan::AsanThread *GetAsanThreadByOsIDLocked(tid_t os_id) {
487 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id);
504 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id);
538 AsanThread *t = GetCurrentThread();
550 AsanThread *t = GetCurrentThread();