1219019Sgabor//===-- tsan_symbolize.h ----------------------------------------*- C++ -*-===//
2219019Sgabor//
3219019Sgabor// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4219019Sgabor// See https://llvm.org/LICENSE.txt for license information.
5219019Sgabor// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6219019Sgabor//
7219019Sgabor//===----------------------------------------------------------------------===//
8219019Sgabor//
9219019Sgabor// This file is a part of ThreadSanitizer (TSan), a race detector.
10219019Sgabor//
11219019Sgabor//===----------------------------------------------------------------------===//
12219019Sgabor#ifndef TSAN_SYMBOLIZE_H
13219019Sgabor#define TSAN_SYMBOLIZE_H
14219019Sgabor
15219019Sgabor#include "tsan_defs.h"
16219019Sgabor#include "tsan_report.h"
17219019Sgabor
18219019Sgabornamespace __tsan {
19219019Sgabor
20219019Sgaborvoid EnterSymbolizer();
21219019Sgaborvoid ExitSymbolizer();
22219019SgaborSymbolizedStack *SymbolizeCode(uptr addr);
23219019SgaborReportLocation *SymbolizeData(uptr addr);
24219019Sgaborvoid SymbolizeFlush();
25219019Sgabor
26219019SgaborReportStack *NewReportStackEntry(uptr addr);
27219019Sgabor
28219019Sgabor}  // namespace __tsan
29219019Sgabor
30219019Sgabor#endif  // TSAN_SYMBOLIZE_H
31219019Sgabor