OSDN Git Service

The system ranlib on darwin occasionally adds two extra newlines to the
authorChris Lattner <sabre@nondot.org>
Mon, 27 Sep 2004 16:59:06 +0000 (16:59 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 27 Sep 2004 16:59:06 +0000 (16:59 +0000)
commit56bc894d06b81fd27065ad73d69b1781d2fe4953
tree70947df007b2eb9b692bdb3f9f2fc126e837ebfb
parent48f44cf5b3717df78933f968424213f39f807997
The system ranlib on darwin occasionally adds two extra newlines to the
end of files, breaking the CFE build.  As a gross hack around this,
ignore any trailing garbage on bytecode files.  Thanks to Brian for digging
in and identifying the problem.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16525 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bytecode/Reader/Reader.cpp