* include/bits/allocator.h (operator==, operator!=): Add exception
[official-gcc.git] / libsanitizer / tsan / tsan_symbolize.h
blob892c11c0667c01091bb6ae894191976a7a76f607
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 ReportStack *SymbolizeCode(uptr addr);
22 ReportLocation *SymbolizeData(uptr addr);
23 void SymbolizeFlush();
25 ReportStack *SymbolizeCodeAddr2Line(uptr addr);
27 ReportStack *NewReportStackEntry(uptr addr);
29 } // namespace __tsan
31 #endif // TSAN_SYMBOLIZE_H