2012-11-22 23:03:11 +01:00
|
|
|
//===-- tsan_symbolize.h ----------------------------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file is a part of ThreadSanitizer (TSan), a race detector.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef TSAN_SYMBOLIZE_H
|
|
|
|
#define TSAN_SYMBOLIZE_H
|
|
|
|
|
|
|
|
#include "tsan_defs.h"
|
|
|
|
#include "tsan_report.h"
|
|
|
|
|
|
|
|
namespace __tsan {
|
|
|
|
|
2013-12-05 10:18:38 +01:00
|
|
|
void EnterSymbolizer();
|
|
|
|
void ExitSymbolizer();
|
2015-10-21 09:32:45 +02:00
|
|
|
SymbolizedStack *SymbolizeCode(uptr addr);
|
2013-01-23 12:41:33 +01:00
|
|
|
ReportLocation *SymbolizeData(uptr addr);
|
2013-11-04 22:33:31 +01:00
|
|
|
void SymbolizeFlush();
|
2012-11-22 23:03:11 +01:00
|
|
|
|
|
|
|
ReportStack *NewReportStackEntry(uptr addr);
|
|
|
|
|
|
|
|
} // namespace __tsan
|
|
|
|
|
|
|
|
#endif // TSAN_SYMBOLIZE_H
|