[Support] Allow discarding a FileOutputBuffer without removing the memory mapping
authorMartin Storsjo <martin@martin.st>
Fri, 24 Aug 2018 18:36:22 +0000 (18:36 +0000)
committerMartin Storsjo <martin@martin.st>
Fri, 24 Aug 2018 18:36:22 +0000 (18:36 +0000)
commit4153e9fbb1562d765297fec58e903345c9f165c3
tree6e2f3df0b3c69a585495e9aee8849697b5d98a1e
parent9920489a2aa2c73b4d757cde0de678a2d68ceab7
[Support] Allow discarding a FileOutputBuffer without removing the memory mapping

Differential Revision: https://reviews.llvm.org/D51095

llvm-svn: 340634
llvm/include/llvm/Support/FileOutputBuffer.h
llvm/lib/Support/FileOutputBuffer.cpp