mirror of
https://review.haiku-os.org/buildtools
synced 2026-02-04 07:53:14 +01:00
Updated dependencies: * GMP 6.2.1 * ISL 0.24 * MPL 1.2.1 * MPFR 4.1.0 The dependencies were pulled in by running the ./contrib/download_prerequisites script and then manually removing the symbolic links and archives, and renaming the directories (i.e mv isl-0.24 to isl)
16 lines
451 B
C++
16 lines
451 B
C++
#include "hwasan_thread_list.h"
|
|
|
|
namespace __hwasan {
|
|
static ALIGNED(16) char thread_list_placeholder[sizeof(HwasanThreadList)];
|
|
static HwasanThreadList *hwasan_thread_list;
|
|
|
|
HwasanThreadList &hwasanThreadList() { return *hwasan_thread_list; }
|
|
|
|
void InitThreadList(uptr storage, uptr size) {
|
|
CHECK(hwasan_thread_list == nullptr);
|
|
hwasan_thread_list =
|
|
new (thread_list_placeholder) HwasanThreadList(storage, size);
|
|
}
|
|
|
|
} // namespace __hwasan
|