Add note to FIXME about PR5371.

llvm-svn: 85825
This commit is contained in:
Edward O'Callaghan 2009-11-02 21:25:11 +00:00
parent 1c66e8a6b7
commit 06231460b3
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ const llvm::MemoryBuffer *ContentCache::getBuffer() const {
if (!Buffer && Entry) {
// FIXME: Should we support a way to not have to do this check over
// and over if we cannot open the file?
// Yes, PR5371.
Buffer = MemoryBuffer::getFile(Entry->getName(), 0, Entry->getSize());
if (isTruncated())
const_cast<ContentCache *>(this)->truncateAt(TruncateAtLine,