Go to file
Zachary Turner bedc85fb4b [pdb] Don't verify TPI hash values up front.
Verifying the hash values as we are currently doing
results in iterating every type record before the user
even tries to access the first one, and the API user
has no control over, or ability to hook into this
process.

As a result, when the user wants to iterate over types
to print them or index them, this results in a second
iteration over the same list of types.  When there's
upwards of 1,000,000 type records, this is obviously
quite undesirable.

This patch raises the verification outside of TpiStream
, and llvm-pdbdump hooks a hash verification visitor
into the normal dumping process.  So we still verify
the hash records, but we can do it while not requiring
a second iteration over the type stream.

Differential Revision: https://reviews.llvm.org/D32873

llvm-svn: 302206
2017-05-04 23:53:54 +00:00
clang Fix whitespace before token-paste of an argument. 2017-05-04 21:31:17 +00:00
clang-tools-extra [clangd] Add documentation page 2017-05-04 19:57:53 +00:00
compiler-rt [ASAN] Add interceptor for __longjmp_chk 2017-05-04 14:03:57 +00:00
debuginfo-tests Add additional CHECKs to safestack.c. 2017-04-17 17:57:05 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Fix test failure with GCC 4.9 2017-05-04 19:13:28 +00:00
libcxxabi [libcxxabi][CMake] Set library dir when built under runtimes/ 2017-05-04 06:04:49 +00:00
libunwind [CMake][libunwind] Fix the -target and -gcc-toolchain flag handling 2017-04-16 06:08:44 +00:00
lld Simplify the header allocation. 2017-05-04 19:34:17 +00:00
lldb [LLDB][MIPS] Fix TestStepOverBreakpoint.py failure. 2017-05-04 11:34:42 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm [pdb] Don't verify TPI hash values up front. 2017-05-04 23:53:54 +00:00
openmp [OpenMP] libomptarget: test correction for use with OpenMP 4.5 2017-04-27 18:54:00 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [ScopBuilder] Add missing semicolon after LLVM_FALLTHROUGH. 2017-05-04 15:55:54 +00:00