//===-- tsan_stack_trace.cpp ----------------------------------------------===// // // 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 a part of ThreadSanitizer (TSan), a race detector. // //===----------------------------------------------------------------------===// #include "tsan_stack_trace.h" #include "tsan_rtl.h" #include "tsan_mman.h" namespace __tsan { VarSizeStackTrace::VarSizeStackTrace() : … { … } VarSizeStackTrace::~VarSizeStackTrace() { … } void VarSizeStackTrace::ResizeBuffer(uptr new_size) { … } void VarSizeStackTrace::Init(const uptr *pcs, uptr cnt, uptr extra_top_pc) { … } void VarSizeStackTrace::ReverseOrder() { … } } // namespace __tsan #if !SANITIZER_GO void __sanitizer::BufferedStackTrace::UnwindImpl( uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { … } #endif // SANITIZER_GO