[PATCH] D19731: Parse PDB Name Hash Table

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 29 14:04:17 PDT 2016


zturner updated this revision to Diff 55663.
zturner added a comment.

Get rid of the duff's device.  I imagine the compiler is pretty good at optimizing this, and it's hard to understand.  It should be much more obvious how this version works, and it's equivalent.


http://reviews.llvm.org/D19731

Files:
  include/llvm/DebugInfo/PDB/Raw/DbiStream.h
  include/llvm/DebugInfo/PDB/Raw/NameHashTable.h
  include/llvm/DebugInfo/PDB/Raw/StreamReader.h
  lib/DebugInfo/PDB/CMakeLists.txt
  lib/DebugInfo/PDB/Raw/DbiStream.cpp
  lib/DebugInfo/PDB/Raw/NameHashTable.cpp
  test/DebugInfo/PDB/pdbdump-headers.test
  tools/llvm-pdbdump/llvm-pdbdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19731.55663.patch
Type: text/x-patch
Size: 12064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160429/2923ef1e/attachment-0001.bin>


More information about the llvm-commits mailing list