buildtools/gcc/libsanitizer/tsan/tsan_symbolize.h

31 lines
897 B
C
Raw Permalink Normal View History

2013-06-05 18:35:38 +02:00
//===-- tsan_symbolize.h ----------------------------------------*- C++ -*-===//
//
2021-12-06 21:18:24 +00:00
// 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
2013-06-05 18:35:38 +02:00
//
//===----------------------------------------------------------------------===//
//
// This file is a part of ThreadSanitizer (TSan), a race detector.
//
//===----------------------------------------------------------------------===//
#ifndef TSAN_SYMBOLIZE_H
#define TSAN_SYMBOLIZE_H
#include "tsan_defs.h"
#include "tsan_report.h"
namespace __tsan {
2016-02-29 10:41:25 +01:00
void EnterSymbolizer();
void ExitSymbolizer();
2018-03-19 15:31:14 -05:00
SymbolizedStack *SymbolizeCode(uptr addr);
2013-06-05 18:35:38 +02:00
ReportLocation *SymbolizeData(uptr addr);
2016-02-29 10:41:25 +01:00
void SymbolizeFlush();
2013-06-05 18:35:38 +02:00
ReportStack *NewReportStackEntry(uptr addr);
} // namespace __tsan
#endif // TSAN_SYMBOLIZE_H