1//===-- copyprof_internal.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 declares internal runtime data structures, flags, and helper
10/// functions shared within the CopyProf runtime library.
11///
12//===----------------------------------------------------------------------===//
13
14#ifndef COPYPROF_INTERNAL_H
15#define COPYPROF_INTERNAL_H
16
17#include "sanitizer_common/sanitizer_internal_defs.h"
18#include "sanitizer_common/sanitizer_stacktrace.h"
19
20using __sanitizer::u32;
21using __sanitizer::u64;
22using __sanitizer::uptr;
23using __sanitizer::usize;
24
25namespace __copyprof {
26
27using __sanitizer::BufferedStackTrace;
28extern bool copyprof_is_initialized;
29extern bool copyprof_init_is_running;
30
31} // namespace __copyprof
32
33#endif // COPYPROF_INTERNAL_H
34