//===-- sanitizer_thread_arg_retval.cpp -------------------------*- 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 // //===----------------------------------------------------------------------===// // // This file is shared between sanitizer tools. // // Tracks thread arguments and return value for leak checking. //===----------------------------------------------------------------------===// #include "sanitizer_thread_arg_retval.h" #include "sanitizer_placement_new.h" namespace __sanitizer { void ThreadArgRetval::CreateLocked(uptr thread, bool detached, const Args& args) { … } ThreadArgRetval::Args ThreadArgRetval::GetArgs(uptr thread) const { … } void ThreadArgRetval::Finish(uptr thread, void* retval) { … } u32 ThreadArgRetval::BeforeJoin(uptr thread) const { … } void ThreadArgRetval::AfterJoin(uptr thread, u32 gen) { … } void ThreadArgRetval::DetachLocked(uptr thread) { … } void ThreadArgRetval::GetAllPtrsLocked(InternalMmapVector<uptr>* ptrs) { … } } // namespace __sanitizer