From 984cef3e3115f9a31904e092eed0605892ac3f13 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Thu, 2 Jun 2016 21:13:47 +0000 Subject: [PATCH] Add comments. llvm-svn: 271597 --- lib/DebugInfo/PDB/Raw/TpiStream.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/DebugInfo/PDB/Raw/TpiStream.cpp b/lib/DebugInfo/PDB/Raw/TpiStream.cpp index 28c3d64e882..74a0427480e 100644 --- a/lib/DebugInfo/PDB/Raw/TpiStream.cpp +++ b/lib/DebugInfo/PDB/Raw/TpiStream.cpp @@ -35,6 +35,7 @@ static uint32_t HashBufferV8(uint8_t *buffer, uint32_t NumBuckets) { return 0; } +// This corresponds to `HDR` in PDB/dbi/tpi.h. struct TpiStream::HeaderInfo { struct EmbeddedBuf { little32_t Off; @@ -47,6 +48,7 @@ struct TpiStream::HeaderInfo { ulittle32_t TypeIndexEnd; ulittle32_t TypeRecordBytes; + // The following members correspond to `TpiHash` in PDB/dbi/tpi.h. ulittle16_t HashStreamIndex; ulittle16_t HashAuxStreamIndex; ulittle32_t HashKeySize;