diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-10-02 17:49:47 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-10-02 17:49:47 +0000 |
commit | a346f462716b4eb32d27ffe20fc8696473f225f6 (patch) | |
tree | 96c635345334b05647648ec2ec22ad6ec2876936 /lib/MC/MCObjectFileInfo.cpp | |
parent | fba80d9e97685f4aff959a6ba9fb076536bf285e (diff) |
Fix a silly coding error on my part. The whole point of the speculator
being separate was that it can grow the use list. As a consequence, we
can't use the iterator-pair interface, we need an index based interface.
Expose such an interface from the AllocaPartitioning, and use it in the
speculator.
This should at least fix a use-after-free bug found by Duncan, and may
fix some of the other crashers.
I don't have a nice deterministic test case yet, but if I get a good
one, I'll add it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCObjectFileInfo.cpp')
0 files changed, 0 insertions, 0 deletions