blob: 5a9710a3cd306449b8ae5d056f08366635792e9f [file] [log] [blame]
Kostya Serebryany7ac41482012-05-10 13:48:04 +00001//===-- 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
Alexey Samsonov66d91e32013-10-31 21:44:07 +000021void EnterSymbolizer();
22void ExitSymbolizer();
Stephen Hines86277eb2015-03-23 12:06:32 -070023SymbolizedStack *SymbolizeCode(uptr addr);
Dmitry Vyukov5a1f2332013-01-11 07:23:51 +000024ReportLocation *SymbolizeData(uptr addr);
Dmitry Vyukov723e24f2013-03-19 10:24:01 +000025void SymbolizeFlush();
Kostya Serebryany7ac41482012-05-10 13:48:04 +000026
Alexey Samsonovbc12f5d2012-07-05 07:18:29 +000027ReportStack *NewReportStackEntry(uptr addr);
28
Kostya Serebryany7ac41482012-05-10 13:48:04 +000029} // namespace __tsan
30
31#endif // TSAN_SYMBOLIZE_H