diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-02-20 00:27:26 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-02-20 00:27:26 +0000 |
commit | 7bfb41538747644d302344963d9247d96814dbb7 (patch) | |
tree | 803fb0f22b762004e6c2eb454147e8f74a69a43b /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 8bc7af1a93813a742b5ecea29bef0dc441fa7494 (diff) | |
download | bcm5719-llvm-7bfb41538747644d302344963d9247d96814dbb7.tar.gz bcm5719-llvm-7bfb41538747644d302344963d9247d96814dbb7.zip |
[analyzer] Account for the "interesting values" hash table resizing.
RegionStoreManager::getInterestingValues() returns a pointer to a
std::vector that lives inside a DenseMap, which is constructed on demand.
However, constructing one such value can lead to constructing another
value, which will invalidate the reference created earlier.
Fixed by delaying the new entry creation until the function returns.
llvm-svn: 175582
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions