PR rtl-optimization/55547
[official-gcc.git] / libsanitizer / tsan / tsan_symbolize.h
blob6ac19ca5ccc94885683357ed6eb2624f6cb90d4d
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 ReportStack *SymbolizeCode(uptr addr);
20 ReportStack *SymbolizeData(uptr addr);
22 ReportStack *SymbolizeCodeAddr2Line(uptr addr);
23 ReportStack *SymbolizeDataAddr2Line(uptr addr);
25 ReportStack *NewReportStackEntry(uptr addr);
27 } // namespace __tsan
29 #endif // TSAN_SYMBOLIZE_H