diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2016-08-20 17:35:53 +0000 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2016-08-20 17:35:53 +0000 |
commit | 5657486854d03116660ada0f07f315ac1b54827c (patch) | |
tree | 3b8ac918364c806f1b8f0d556d07d2188812d68b /llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | |
parent | 8176ee9b5dda38504f0048cfe6df95fc13df3ec4 (diff) | |
download | bcm5719-llvm-5657486854d03116660ada0f07f315ac1b54827c.tar.gz bcm5719-llvm-5657486854d03116660ada0f07f315ac1b54827c.zip |
[analyzer] Use faster hashing (MD5) in CloneDetector.
This replaces the old approach of fingerprinting every AST node into a string,
which avoided collisions and was simple to implement, but turned out to be
extremely ineffective with respect to both performance and memory.
The collisions are now dealt with in a separate pass, which no longer causes
performance problems because collisions are rare.
Patch by Raphael Isemann!
Differential Revision: https://reviews.llvm.org/D22515
llvm-svn: 279378
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp')
0 files changed, 0 insertions, 0 deletions