brintos

brintos / llvm-project-archived public Read only

0
0
Text · 897 B · 7adaa04 Raw
31 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8//9// This file is a part of ThreadSanitizer (TSan), a race detector.10//11//===----------------------------------------------------------------------===//12#ifndef TSAN_SYMBOLIZE_H13#define TSAN_SYMBOLIZE_H14 15#include "tsan_defs.h"16#include "tsan_report.h"17 18namespace __tsan {19 20void EnterSymbolizer();21void ExitSymbolizer();22SymbolizedStack *SymbolizeCode(uptr addr);23ReportLocation *SymbolizeData(uptr addr);24void SymbolizeFlush();25 26ReportStack *NewReportStackEntry(uptr addr);27 28}  // namespace __tsan29 30#endif  // TSAN_SYMBOLIZE_H31