//===- nsan_thread.h --------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef NSAN_THREAD_H #define NSAN_THREAD_H #include "nsan_allocator.h" #include "sanitizer_common/sanitizer_common.h" #include "sanitizer_common/sanitizer_posix.h" namespace __nsan { class NsanThread { … }; NsanThread *GetCurrentThread(); void SetCurrentThread(NsanThread *t); void NsanTSDInit(void (*destructor)(void *tsd)); void NsanTSDDtor(void *tsd); } // namespace __nsan #endif // NSAN_THREAD_H