//===-- sanitizer_stacktrace_printer.h --------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file is shared between sanitizers' run-time libraries. // //===----------------------------------------------------------------------===// #ifndef SANITIZER_STACKTRACE_PRINTER_H #define SANITIZER_STACKTRACE_PRINTER_H #include "sanitizer_common.h" #include "sanitizer_internal_defs.h" #include "sanitizer_symbolizer.h" namespace __sanitizer { // StacktracePrinter is an interface that is implemented by // classes that can perform rendering of the different parts // of a stacktrace. class StackTracePrinter { … }; class FormattedStackTracePrinter : public StackTracePrinter { … }; } // namespace __sanitizer #endif // SANITIZER_STACKTRACE_PRINTER_H