diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-07-02 16:22:40 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-07-02 16:22:40 +0000 |
commit | 4e7212177f8427d9abbea6df124db29efdd32e16 (patch) | |
tree | 5def7a5bb610325d54e1aff1f23904dbb5717594 /llvm/lib/Object/Object.cpp | |
parent | d80c526e748864baa6ad7267a57d7759589826d9 (diff) | |
download | llvm-4e7212177f8427d9abbea6df124db29efdd32e16.zip llvm-4e7212177f8427d9abbea6df124db29efdd32e16.tar.gz llvm-4e7212177f8427d9abbea6df124db29efdd32e16.tar.bz2 |
Fix for PR23310: llvm-dis crashes when trying to upgrade an intrinsic.
When trying to upgrade @llvm.x86.sse2.psrl.dq while parsing a module,
BitcodeReader adds the function to its worklist twice, resulting in a
crash when accessing it the second time.
This patch replaces the worklist vector by a map.
Patch by Philip Pfaffe.
llvm-svn: 241281
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions