llvm/compiler-rt/lib/tsan/dd/dd_rtl.cpp

//===-- dd_rtl.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
//
//===----------------------------------------------------------------------===//

#include "dd_rtl.h"
#include "sanitizer_common/sanitizer_common.h"
#include "sanitizer_common/sanitizer_placement_new.h"
#include "sanitizer_common/sanitizer_flags.h"
#include "sanitizer_common/sanitizer_flag_parser.h"
#include "sanitizer_common/sanitizer_stacktrace.h"
#include "sanitizer_common/sanitizer_stackdepot.h"

namespace __dsan {

static Context *ctx;

static u32 CurrentStackTrace(Thread *thr, uptr skip) {}

static void PrintStackTrace(Thread *thr, u32 stk) {}

static void ReportDeadlock(Thread *thr, DDReport *rep) {}

Callback::Callback(Thread *thr)
    :{}

u32 Callback::Unwind() {}

static void InitializeFlags() {}

void Initialize() {}

void ThreadInit(Thread *thr) {}

void ThreadDestroy(Thread *thr) {}

void MutexBeforeLock(Thread *thr, uptr m, bool writelock) {}

void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock) {}

void MutexBeforeUnlock(Thread *thr, uptr m, bool writelock) {}

void MutexDestroy(Thread *thr, uptr m) {}

}  // namespace __dsan