#ifndef MEMPROF_DATA_INC #define MEMPROF_DATA_INC /*===-- MemProfData.inc - MemProf profiling runtime structures -*- 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 is the main file that defines all the data structure, signature, * constant literals that are shared across profiling runtime library, * and host tools (reader/writer). * * This file has two identical copies. The primary copy lives in LLVM and * the other one sits in compiler-rt/include/profile directory. To make changes * in this file, first modify the primary copy and copy it over to compiler-rt. * Testing of any change in this file can start only after the two copies are * synced up. * \*===----------------------------------------------------------------------===*/ #include <string.h> #ifdef _MSC_VER #define PACKED … #else #define PACKED(...) … #endif // A 64-bit magic number to uniquely identify the raw binary memprof profile file. #define MEMPROF_RAW_MAGIC_64 … // The version number of the raw binary format. #define MEMPROF_RAW_VERSION … // Currently supported versions. #define MEMPROF_RAW_SUPPORTED_VERSIONS … #define MEMPROF_V3_MIB_SIZE … #define MEMPROF_BUILDID_MAX_SIZE … namespace llvm { memprof // namespace memprof } // namespace llvm #endif