tsan_symbolize.h 897 B

123456789101112131415161718192021222324252627282930
  1. //===-- tsan_symbolize.h ----------------------------------------*- C++ -*-===//
  2. //
  3. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  4. // See https://llvm.org/LICENSE.txt for license information.
  5. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. //
  9. // This file is a part of ThreadSanitizer (TSan), a race detector.
  10. //
  11. //===----------------------------------------------------------------------===//
  12. #ifndef TSAN_SYMBOLIZE_H
  13. #define TSAN_SYMBOLIZE_H
  14. #include "tsan_defs.h"
  15. #include "tsan_report.h"
  16. namespace __tsan {
  17. void EnterSymbolizer();
  18. void ExitSymbolizer();
  19. SymbolizedStack *SymbolizeCode(uptr addr);
  20. ReportLocation *SymbolizeData(uptr addr);
  21. void SymbolizeFlush();
  22. ReportStack *NewReportStackEntry(uptr addr);
  23. } // namespace __tsan
  24. #endif // TSAN_SYMBOLIZE_H