[PATCH] D33009: [CodeView] Add an amortized O(1) random access type visitor
Zachary Turner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 10 11:31:58 PDT 2017
zturner updated this revision to Diff 98499.
zturner added a comment.
A few minor cleanups. Mostly added a doxygen blurb at the beginning of the visitor class, and also changed the `TypeDatabase` from being stored by reference to being stored by value inside the visitor. It doesn't really make sense to have the user be responsible for creating the database, since the two things are so tightly coupled that neither can exist without the other.
https://reviews.llvm.org/D33009
Files:
llvm/include/llvm/DebugInfo/CodeView/RandomAccessTypeVisitor.h
llvm/include/llvm/DebugInfo/CodeView/TypeDatabase.h
llvm/include/llvm/DebugInfo/CodeView/TypeDeserializer.h
llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h
llvm/include/llvm/DebugInfo/PDB/Native/RawTypes.h
llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h
llvm/include/llvm/DebugInfo/PDB/Native/TpiStreamBuilder.h
llvm/include/llvm/Support/BinaryStreamArray.h
llvm/lib/DebugInfo/CodeView/CMakeLists.txt
llvm/lib/DebugInfo/CodeView/CVTypeVisitor.cpp
llvm/lib/DebugInfo/CodeView/RandomAccessTypeVisitor.cpp
llvm/lib/DebugInfo/CodeView/TypeDatabase.cpp
llvm/lib/DebugInfo/CodeView/TypeDatabaseVisitor.cpp
llvm/lib/DebugInfo/PDB/Native/TpiStreamBuilder.cpp
llvm/tools/llvm-pdbdump/LLVMOutputStyle.cpp
llvm/unittests/DebugInfo/CMakeLists.txt
llvm/unittests/DebugInfo/CodeView/CMakeLists.txt
llvm/unittests/DebugInfo/CodeView/ErrorChecking.h
llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33009.98499.patch
Type: text/x-patch
Size: 40641 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170510/d00730d0/attachment.bin>
More information about the llvm-commits
mailing list