[Frontend] avoid copy of PCH data when PrecompiledPreamble stores it in memory
Instead of unconditionally copying the PCHBuffer into an ostream which can be backed either by a string or a file, just make the PCHBuffer itself the in-memory storage. Differential Revision: https://reviews.llvm.org/D124180
parent
84051d82
Please register or sign in to comment