PR lto/83954
[official-gcc.git] / libsanitizer / tsan / tsan_symbolize.h
bloba859f6318b006f1de4b31b14f1ff9870f7a68a15
1 //===-- tsan_symbolize.h ----------------------------------------*- C++ -*-===//
2 //
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
5 //
6 //===----------------------------------------------------------------------===//
7 //
8 // This file is a part of ThreadSanitizer (TSan), a race detector.
9 //
10 //===----------------------------------------------------------------------===//
11 #ifndef TSAN_SYMBOLIZE_H
12 #define TSAN_SYMBOLIZE_H
14 #include "tsan_defs.h"
15 #include "tsan_report.h"
17 namespace __tsan {
19 void EnterSymbolizer();
20 void ExitSymbolizer();
21 SymbolizedStack *SymbolizeCode(uptr addr);
22 ReportLocation *SymbolizeData(uptr addr);
23 void SymbolizeFlush();
25 ReportStack *NewReportStackEntry(uptr addr);
27 } // namespace __tsan
29 #endif // TSAN_SYMBOLIZE_H