summaryrefslogtreecommitdiffstats
path: root/llvm/docs/PDB/TpiStream.rst
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/docs/PDB/TpiStream.rst')
-rw-r--r--llvm/docs/PDB/TpiStream.rst10
1 files changed, 9 insertions, 1 deletions
diff --git a/llvm/docs/PDB/TpiStream.rst b/llvm/docs/PDB/TpiStream.rst
index 74f2c37b083..99f9a73bb11 100644
--- a/llvm/docs/PDB/TpiStream.rst
+++ b/llvm/docs/PDB/TpiStream.rst
@@ -289,7 +289,15 @@ accurate.
index. This can be used to do a binary search followed bin a linear search to
get amortized O(log n) lookup by type index.
-- **HashAdjBufferOffset / HashAdjBufferLength** -
+- **HashAdjBufferOffset / HashAdjBufferLength** - The offset and size within
+ the TPI hash stream of a serialized hash table whose keys are the hash values
+ in the hash value buffer and whose values are type indices. This appears to
+ be useful in incremental linking scenarios, so that if a type is modified an
+ entry can be created mapping the old hash value to the new type index so that
+ a PDB file consumer can always have the most up to date version of the type
+ without forcing the incremental linker to garbage collect and update
+ references that point to the old version to now point to the new version.
+ The layout of this hash table is described in :doc:`HashTable`.
.. _tpi_records:
OpenPOWER on IntegriCloud