summaryrefslogtreecommitdiff
path: root/lib/Support/Triple.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-10-02 17:49:47 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-10-02 17:49:47 +0000
commita346f462716b4eb32d27ffe20fc8696473f225f6 (patch)
tree96c635345334b05647648ec2ec22ad6ec2876936 /lib/Support/Triple.cpp
parentfba80d9e97685f4aff959a6ba9fb076536bf285e (diff)
downloadllvm-a346f462716b4eb32d27ffe20fc8696473f225f6.tar.gz
llvm-a346f462716b4eb32d27ffe20fc8696473f225f6.tar.bz2
llvm-a346f462716b4eb32d27ffe20fc8696473f225f6.tar.xz
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/Support/Triple.cpp')
0 files changed, 0 insertions, 0 deletions