summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/GlobalOpt.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-03-28 14:34:23 +0000
committerDouglas Gregor <dgregor@apple.com>2012-03-28 14:34:23 +0000
commitce9978ff1f751b30f52d309756015489146b48bc (patch)
treeb8c407725fbd196af6156bcb6ee725fb4f269912 /llvm/lib/Transforms/IPO/GlobalOpt.cpp
parent20b32d2da607b01abd0064ac8c35d9cb161af932 (diff)
downloadbcm5719-llvm-ce9978ff1f751b30f52d309756015489146b48bc.tar.gz
bcm5719-llvm-ce9978ff1f751b30f52d309756015489146b48bc.zip
When we form a new function/class template specialization, we first
search for the specialization (in a folding set) and, if not found form a *Decl that is then inserted into that folding set. In rare cases, the folding set may be reallocated between the search and the insertion, causing a crash. No test case, because triggering rehashing consistently in a small test case is not feasible. Fixes <rdar://problem/11115071>. llvm-svn: 153575
Diffstat (limited to 'llvm/lib/Transforms/IPO/GlobalOpt.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud