diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-09-27 21:05:59 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-09-27 21:05:59 +0000 |
commit | 657720bc6ed1f214c4e7f45f80dcc15b2e168288 (patch) | |
tree | 0326a848b92d8eb23a28eeae3f6ec63004a439ab /lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | cb39aa05afd52f017869ce5399652223626da7b7 (diff) |
Don't dereference begin() on an empty vector.
The fix is obvious and the only test case I have is horrible, so I am
not including it. The problem shows up when self-hosting clang on i386
with -new-coalescer enabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164793 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions