[PATCH] D28715: Raise the PDB Hash Map out of the NameMap class

David Majnemer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 14:43:24 PST 2017


majnemer added inline comments.


================
Comment at: llvm/lib/DebugInfo/PDB/Raw/HashTable.cpp:189
+    return;
+  uint32_t NewCapacity = capacity() * 2;
+
----------------
Should we assert that `NewCapacity` is bigger than `capacity()`?


https://reviews.llvm.org/D28715





More information about the llvm-commits mailing list