diff --git a/llvm/lib/Bytecode/Reader/ReaderInternals.h b/llvm/lib/Bytecode/Reader/ReaderInternals.h index 79c5a0d9a63d..c8905454e670 100644 --- a/llvm/lib/Bytecode/Reader/ReaderInternals.h +++ b/llvm/lib/Bytecode/Reader/ReaderInternals.h @@ -219,7 +219,7 @@ static inline void readBlock(const unsigned char *&Buf, #ifdef DEBUG_OUTPUT bool Result = read(Buf, EndBuf, Type) || read(Buf, EndBuf, Size); std::cerr << "StartLoc = " << ((unsigned)Buf & 4095) - << " Type = " << Type << " Size = " << Size << std::endl; + << " Type = " << Type << " Size = " << Size << "\n"; if (Result) throw Error_read; #else if (read(Buf, EndBuf, Type) || read(Buf, EndBuf, Size)) throw Error_read;