aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/lit/tests/boolean-parsing.py
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-01-24 16:07:18 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-01-24 16:07:18 +0000
commit3a934abe48467c54dc1f7081c2887f72dc8d607d (patch)
tree55baf7e57f6f734a950b7ed57d8164ec6176358e /llvm/utils/lit/tests/boolean-parsing.py
parent68de04e2d2b134b21040d68f59e99e8fac0089ec (diff)
downloadllvm-3a934abe48467c54dc1f7081c2887f72dc8d607d.zip
llvm-3a934abe48467c54dc1f7081c2887f72dc8d607d.tar.gz
llvm-3a934abe48467c54dc1f7081c2887f72dc8d607d.tar.bz2
[ELF] - Fixed crash after incrementing end iterator.
Next code crashed under MSVS2015 for me: this->OutSec->Info = this->Info = 1 + It - Symbols.begin(); Because It was end() and addition of 1 is not allowed. vector implementation catched and failed that inside: _Myiter& operator+=(difference_type _Off) { // increment by integer #if _ITERATOR_DEBUG_LEVEL == 2 if (this->_Getcont() == 0 || this->_Ptr + _Off < ((_Myvec *)this->_Getcont())->_Myfirst || ((_Myvec *)this->_Getcont())->_Mylast < this->_Ptr + _Off) { // report error _DEBUG_ERROR("vector iterator + offset out of range"); _SCL_SECURE_OUT_OF_RANGE; llvm-svn: 292940
Diffstat (limited to 'llvm/utils/lit/tests/boolean-parsing.py')
0 files changed, 0 insertions, 0 deletions