Kostya Serebryany | 4ad375f | 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 | 627e2c0 | 2013-10-31 21:44:07 +0000 | [diff] [blame] | 21 | void EnterSymbolizer(); |
| 22 | void ExitSymbolizer(); |
Alexey Samsonov | 0e90668 | 2014-12-02 19:48:40 +0000 | [diff] [blame] | 23 | SymbolizedStack *SymbolizeCode(uptr addr); |
Dmitry Vyukov | 5cb6c62 | 2013-01-11 07:23:51 +0000 | [diff] [blame] | 24 | ReportLocation *SymbolizeData(uptr addr); |
Dmitry Vyukov | f3fde82 | 2013-03-19 10:24:01 +0000 | [diff] [blame] | 25 | void SymbolizeFlush(); |
Kostya Serebryany | 4ad375f | 2012-05-10 13:48:04 +0000 | [diff] [blame] | 26 | |
Alexey Samsonov | 78a3bbc | 2012-07-05 07:18:29 +0000 | [diff] [blame] | 27 | ReportStack *NewReportStackEntry(uptr addr); |
| 28 | |
Kostya Serebryany | 4ad375f | 2012-05-10 13:48:04 +0000 | [diff] [blame] | 29 | } // namespace __tsan |
| 30 | |
| 31 | #endif // TSAN_SYMBOLIZE_H |