summaryrefslogtreecommitdiffstats
path: root/llvm/test/Instrumentation/SanitizerCoverage/coverage.ll
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-05-24 00:26:27 +0000
committerZachary Turner <zturner@google.com>2017-05-24 00:26:27 +0000
commitbb64231d2dd8a78a5b6365a3632902bdf4fe2d38 (patch)
tree10e09f4433766b31b6a927b001b8539e230a44e5 /llvm/test/Instrumentation/SanitizerCoverage/coverage.ll
parentc4861adad9a3cd4c1eee705bef24410c4955654c (diff)
downloadbcm5719-llvm-bb64231d2dd8a78a5b6365a3632902bdf4fe2d38.tar.gz
bcm5719-llvm-bb64231d2dd8a78a5b6365a3632902bdf4fe2d38.zip
Don't do a full scan of the type stream before processing records.
LazyRandomTypeCollection is designed for random access, and in order to provide this it lazily indexes ranges of types. In the case of types from an object file, there is no partial index to build off of, so it has to index the full stream up front. However, merging types only requires sequential access, and when that is needed, this extra work is simply wasted. Changing the algorithm to work on sequential arrays of types rather than random access type collections eliminates this up front scan. llvm-svn: 303707
Diffstat (limited to 'llvm/test/Instrumentation/SanitizerCoverage/coverage.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud