Kostya Serebryany | 7ac4148 | 2012-05-10 13:48:04 +0000 | [diff] [blame] | 1 | //===-- tsan_symbolize.h ----------------------------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file is a part of ThreadSanitizer (TSan), a race detector. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | #ifndef TSAN_SYMBOLIZE_H |
| 14 | #define TSAN_SYMBOLIZE_H |
| 15 | |
| 16 | #include "tsan_defs.h" |
| 17 | #include "tsan_report.h" |
| 18 | |
| 19 | namespace __tsan { |
| 20 | |
Alexey Samsonov | 66d91e3 | 2013-10-31 21:44:07 +0000 | [diff] [blame] | 21 | void EnterSymbolizer(); |
| 22 | void ExitSymbolizer(); |
Stephen Hines | 86277eb | 2015-03-23 12:06:32 -0700 | [diff] [blame] | 23 | SymbolizedStack *SymbolizeCode(uptr addr); |
Dmitry Vyukov | 5a1f233 | 2013-01-11 07:23:51 +0000 | [diff] [blame] | 24 | ReportLocation *SymbolizeData(uptr addr); |
Dmitry Vyukov | 723e24f | 2013-03-19 10:24:01 +0000 | [diff] [blame] | 25 | void SymbolizeFlush(); |
Kostya Serebryany | 7ac4148 | 2012-05-10 13:48:04 +0000 | [diff] [blame] | 26 | |
Alexey Samsonov | bc12f5d | 2012-07-05 07:18:29 +0000 | [diff] [blame] | 27 | ReportStack *NewReportStackEntry(uptr addr); |
| 28 | |
Kostya Serebryany | 7ac4148 | 2012-05-10 13:48:04 +0000 | [diff] [blame] | 29 | } // namespace __tsan |
| 30 | |
| 31 | #endif // TSAN_SYMBOLIZE_H |