commit | cc3a595ab938352f3acf8652c5858ddf879524a5 | [log] [tgz] |
---|---|---|
author | Michael J. Spencer <bigcheesegs@gmail.com> | Thu Mar 14 00:20:10 2013 +0000 |
committer | Michael J. Spencer <bigcheesegs@gmail.com> | Thu Mar 14 00:20:10 2013 +0000 |
tree | 1f67c816387fd6a44ecf54063cc9c283b06642a3 | |
parent | 64a0a33307723957bf2f15e3181a290853c6f833 [diff] |
[Support] Fix lifetime of file descriptors when using MemoryBuffer. Clients of MemoryBuffer::getOpenFile expect it not to take ownership of the file descriptor passed in. So don't. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176995 91177308-0d34-0410-b5e6-96231b3b80d8