/*===-- MemEntryDef.inc - MemProf profiling runtime macros -*- 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 defines the macros for memprof profiling data structures. * Eg. usage to define the memprof meminfoblock struct: * * struct MemInfoBlock { * #define MIBEntryDef(NameTag, Name, Type) Type Name; * #include MIBEntryDef.inc * #undef MIBEntryDef * }; * * 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. * \*===----------------------------------------------------------------------===*/ #ifndef MIBEntryDef #define MIBEntryDef(NameTag, Name, Type) #endif MIBEntryDef(AllocCount = …