1 #include "hwasan_thread_list.h"
4 static ALIGNED(16) char thread_list_placeholder
[sizeof(HwasanThreadList
)];
5 static HwasanThreadList
*hwasan_thread_list
;
7 HwasanThreadList
&hwasanThreadList() { return *hwasan_thread_list
; }
9 void InitThreadList(uptr storage
, uptr size
) {
10 CHECK(hwasan_thread_list
== nullptr);
12 new (thread_list_placeholder
) HwasanThreadList(storage
, size
);
15 } // namespace __hwasan