Use indices into the Symbols vector instead of dereferencing std::vector::end().
NFC modulo the Windows failure: http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/24024
Differential D81717
[llvm/Object] Reimplment basic_symbol_iterator in TapiFile JDevlieghere on Jun 11 2020, 11:47 PM. Authored by
Details Use indices into the Symbols vector instead of dereferencing std::vector::end(). NFC modulo the Windows failure: http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/24024
Diff Detail
Event Timeline |
nit: maybe add a message to notify an out of bounds access?