diff options
author | Rui Ueyama <ruiu@google.com> | 2014-04-21 23:00:42 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2014-04-21 23:00:42 +0000 |
commit | 97d484342c36754609c8d68b373940cb45da0dea (patch) | |
tree | c1ccca3c68c2621e4651b0dca911472114929470 /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp | |
parent | 36b3707be375355865dabea3750c81995a6c4f7d (diff) | |
download | llvm-97d484342c36754609c8d68b373940cb45da0dea.zip llvm-97d484342c36754609c8d68b373940cb45da0dea.tar.gz llvm-97d484342c36754609c8d68b373940cb45da0dea.tar.bz2 |
Fix wrong iterator type
ELFEntityIterator does not implement RandomAccessIterator. It does
not even implement BidirectionalIterator.
This patch fixes LLD build issue when compiled with MSVC2013 with
debug: MSVC's find_if checks if the start iterator is before the end
iterator in the sense of operator< if it declares implementing
RandomAccessIterator. If a class does not have operator<, it fails
to compile.
llvm-svn: 206825
Diffstat (limited to 'llvm/lib/CodeGen/LocalStackSlotAllocation.cpp')
0 files changed, 0 insertions, 0 deletions