2013-06-12 Richard Biener <rguenther@suse.de>
[official-gcc.git] / libsanitizer / tsan / tsan_symbolize.h
blob5275936a29377dac059292e48549657e196ad919
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 ReportLocation *SymbolizeData(uptr addr);
22 ReportStack *SymbolizeCodeAddr2Line(uptr addr);
24 ReportStack *NewReportStackEntry(uptr addr);
26 } // namespace __tsan
28 #endif // TSAN_SYMBOLIZE_H