1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00
Reid Kleckner a24c77d404 Fix a real temp file leak in FileOutputBuffer
If we failed to commit the buffer but did not die to a signal, the temp
file would remain on disk on Windows. Having an open file mapping and
file handle prevents the file from being deleted. I am choosing not to
add an assertion of success on the temp file removal, since virus
scanners and other environmental things can often cause removal to fail
in real world tools.

Also fix more temp file leaks in unit tests.

llvm-svn: 280445
2016-09-02 01:10:53 +00:00
..
2016-01-28 20:36:46 +00:00
2015-06-19 01:53:21 +00:00
2016-04-18 09:17:29 +00:00
2014-06-08 22:29:17 +00:00
2014-09-15 21:51:49 +00:00
2014-12-04 16:59:36 +00:00
2014-12-04 16:59:36 +00:00
2016-04-18 09:17:29 +00:00
2016-04-18 09:17:29 +00:00