]> git.proxmox.com Git - rustc.git/blame - src/compiler-rt/lib/tsan/rtl/tsan_symbolize.h
New upstream version 1.19.0+dfsg3
[rustc.git] / src / compiler-rt / lib / tsan / rtl / tsan_symbolize.h
CommitLineData
1a4d82fc
JJ
1//===-- tsan_symbolize.h ----------------------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file is a part of ThreadSanitizer (TSan), a race detector.
11//
12//===----------------------------------------------------------------------===//
13#ifndef TSAN_SYMBOLIZE_H
14#define TSAN_SYMBOLIZE_H
15
16#include "tsan_defs.h"
17#include "tsan_report.h"
18
19namespace __tsan {
20
21void EnterSymbolizer();
22void ExitSymbolizer();
92a42be0 23SymbolizedStack *SymbolizeCode(uptr addr);
1a4d82fc
JJ
24ReportLocation *SymbolizeData(uptr addr);
25void SymbolizeFlush();
26
27ReportStack *NewReportStackEntry(uptr addr);
28
29} // namespace __tsan
30
31#endif // TSAN_SYMBOLIZE_H