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 13 14 #include "tsan_defs.h" 15 #include "tsan_report.h" 16 17 namespace __tsan { 18 19 void EnterSymbolizer(); 20 void ExitSymbolizer(); 21 SymbolizedStack *SymbolizeCode(uptr addr); 22 ReportLocation *SymbolizeData(uptr addr); 23 void SymbolizeFlush(); 24 25 ReportStack *NewReportStackEntry(uptr addr); 26 27 } // namespace __tsan 28 29 #endif // TSAN_SYMBOLIZE_H 30