summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-02-20 00:27:26 +0000
committerJordan Rose <jordan_rose@apple.com>2013-02-20 00:27:26 +0000
commit7bfb41538747644d302344963d9247d96814dbb7 (patch)
tree803fb0f22b762004e6c2eb454147e8f74a69a43b /clang/lib/CodeGen/CodeGenModule.cpp
parent8bc7af1a93813a742b5ecea29bef0dc441fa7494 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud