blob: 5a9710a3cd306449b8ae5d056f08366635792e9f [file] [log] [blame]
Kostya Serebryany4ad375f2012-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 Samsonov627e2c02013-10-31 21:44:07 +000021void EnterSymbolizer();
22void ExitSymbolizer();
Alexey Samsonov0e906682014-12-02 19:48:40 +000023SymbolizedStack *SymbolizeCode(uptr addr);
Dmitry Vyukov5cb6c622013-01-11 07:23:51 +000024ReportLocation *SymbolizeData(uptr addr);
Dmitry Vyukovf3fde822013-03-19 10:24:01 +000025void SymbolizeFlush();
Kostya Serebryany4ad375f2012-05-10 13:48:04 +000026
Alexey Samsonov78a3bbc2012-07-05 07:18:29 +000027ReportStack *NewReportStackEntry(uptr addr);
28
Kostya Serebryany4ad375f2012-05-10 13:48:04 +000029} // namespace __tsan
30
31#endif // TSAN_SYMBOLIZE_H