diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2018-12-13 01:30:47 +0000 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2018-12-13 01:30:47 +0000 |
commit | e9f1edaae1f7a1f52ce122f98747e1ee81201e02 (patch) | |
tree | 9dc7fdcf4d4cdea5593d68dccbdcc5e7a936f58e /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 8ee59ca65380969fc9e8eb1eb6e631e9fa9772b3 (diff) | |
download | bcm5719-llvm-e9f1edaae1f7a1f52ce122f98747e1ee81201e02.tar.gz bcm5719-llvm-e9f1edaae1f7a1f52ce122f98747e1ee81201e02.zip |
[analyzer] RunLoopAutoreleaseLeakChecker: Come up with a test for r348822.
Statement memoization was removed in r348822 because it was noticed to cause
memory corruption. This was happening because a reference to an object
in a DenseMap was used after being invalidated by inserting a new key
into the map.
This test case crashes reliably under ASan (i.e., when Clang is built with
-DLLVM_USE_SANITIZER="Address") on at least some machines before r348822
and doesn't crash after it.
llvm-svn: 349000
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions