#include "llvm/ProfileData/MemProf.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/STLForwardCompat.h"
#include "llvm/DebugInfo/DIContext.h"
#include "llvm/DebugInfo/Symbolize/SymbolizableModule.h"
#include "llvm/IR/Value.h"
#include "llvm/Object/ObjectFile.h"
#include "llvm/ProfileData/MemProfData.inc"
#include "llvm/ProfileData/MemProfReader.h"
#include "llvm/Support/raw_ostream.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <initializer_list>
namespace {
DIGlobal;
DIInliningInfo;
DILineInfo;
DILineInfoSpecifier;
DILocal;
StringRef;
CallStackId;
CallStackMap;
Frame;
FrameId;
IndexedAllocationInfo;
IndexedMemProfRecord;
MemInfoBlock;
MemProfReader;
MemProfRecord;
MemProfSchema;
Meta;
PortableMemInfoBlock;
RawMemProfReader;
SegmentEntry;
SectionedAddress;
SymbolizableModule;
Return;
SizeIs;
class MockSymbolizer : public SymbolizableModule { … };
struct MockInfo { … };
DIInliningInfo makeInliningInfo(std::initializer_list<MockInfo> MockFrames) { … }
llvm::SmallVector<SegmentEntry, 4> makeSegments() { … }
const DILineInfoSpecifier specifier() { … }
MATCHER_P4(FrameContains, FunctionName, LineOffset, Column, Inline, "") { … }
TEST(MemProf, FillsValue) { … }
TEST(MemProf, PortableWrapper) { … }
TEST(MemProf, RecordSerializationRoundTripVersion0And1) { … }
TEST(MemProf, RecordSerializationRoundTripVerion2) { … }
TEST(MemProf, RecordSerializationRoundTripVersion2HotColdSchema) { … }
TEST(MemProf, SymbolizationFilter) { … }
TEST(MemProf, BaseMemProfReader) { … }
TEST(MemProf, BaseMemProfReaderWithCSIdMap) { … }
TEST(MemProf, IndexedMemProfRecordToMemProfRecord) { … }
FrameIdMapTy;
CallStackIdMapTy;
MemInfoBlock makePartialMIB() { … }
TEST(MemProf, MissingCallStackId) { … }
TEST(MemProf, MissingFrameId) { … }
TEST(MemProf, RadixTreeBuilderEmpty) { … }
TEST(MemProf, RadixTreeBuilderOne) { … }
TEST(MemProf, RadixTreeBuilderTwo) { … }
TEST(MemProf, RadixTreeBuilderSuccessiveJumps) { … }
}