[llvm] r271597 - Add comments.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 2 14:13:47 PDT 2016
Author: ruiu
Date: Thu Jun 2 16:13:47 2016
New Revision: 271597
URL: http://llvm.org/viewvc/llvm-project?rev=271597&view=rev
Log:
Add comments.
Modified:
llvm/trunk/lib/DebugInfo/PDB/Raw/TpiStream.cpp
Modified: llvm/trunk/lib/DebugInfo/PDB/Raw/TpiStream.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/PDB/Raw/TpiStream.cpp?rev=271597&r1=271596&r2=271597&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/PDB/Raw/TpiStream.cpp (original)
+++ llvm/trunk/lib/DebugInfo/PDB/Raw/TpiStream.cpp Thu Jun 2 16:13:47 2016
@@ -35,6 +35,7 @@ static uint32_t HashBufferV8(uint8_t *bu
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;
More information about the llvm-commits
mailing list