diff options
author | Jordan Rose <jordan_rose@apple.com> | 2014-11-13 00:08:41 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2014-11-13 00:08:41 +0000 |
commit | 1da9fbc641f712bcfc60229d890734cec69a7790 (patch) | |
tree | 7513ecc25ec24a549e2b5dae62e8adf7c1ade6fd /llvm/lib/Object/COFFObjectFile.cpp | |
parent | c5676df3ecb7cfe4f4916af73a9d5f5f76788c05 (diff) | |
download | llvm-1da9fbc641f712bcfc60229d890734cec69a7790.zip llvm-1da9fbc641f712bcfc60229d890734cec69a7790.tar.gz llvm-1da9fbc641f712bcfc60229d890734cec69a7790.tar.bz2 |
[Bitcode] AtEndOfStream should only check against the size if it's known.
This avoids an issue where AtEndOfStream mistakenly returns true at the /start/ of
a stream.
(In the rare case that the size is known and actually 0, the slow path will still
handle it correctly.)
llvm-svn: 221840
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions