diff options
author | Wei Mi <wmi@google.com> | 2012-11-22 22:03:11 +0000 |
---|---|---|
committer | Wei Mi <wmi@gcc.gnu.org> | 2012-11-22 22:03:11 +0000 |
commit | cd0be65c262d477ac094fc1038824f766d976999 (patch) | |
tree | f83ad11b95452b47f813e942d24914f31a50394e /libsanitizer/tsan/tsan_symbolize.h | |
parent | 32b4b7f53e341be663438f69fd6cb2f909427188 (diff) | |
download | gcc-cd0be65c262d477ac094fc1038824f766d976999.tar.gz |
tsan: New directory.
libsanitizer/
* tsan: New directory. Import tsan runtime from llvm.
* configure.ac: Add 64 bits tsan build.
* Makefile.am: Likewise.
* configure: Regenerated.
* Makefile.in: Likewise.
From-SVN: r193737
Diffstat (limited to 'libsanitizer/tsan/tsan_symbolize.h')
-rw-r--r-- | libsanitizer/tsan/tsan_symbolize.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/libsanitizer/tsan/tsan_symbolize.h b/libsanitizer/tsan/tsan_symbolize.h new file mode 100644 index 00000000000..6ac19ca5ccc --- /dev/null +++ b/libsanitizer/tsan/tsan_symbolize.h @@ -0,0 +1,29 @@ +//===-- 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 { + +ReportStack *SymbolizeCode(uptr addr); +ReportStack *SymbolizeData(uptr addr); + +ReportStack *SymbolizeCodeAddr2Line(uptr addr); +ReportStack *SymbolizeDataAddr2Line(uptr addr); + +ReportStack *NewReportStackEntry(uptr addr); + +} // namespace __tsan + +#endif // TSAN_SYMBOLIZE_H |