summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-09-02 01:10:53 +0000
committerReid Kleckner <rnk@google.com>2016-09-02 01:10:53 +0000
commit1a4398a1986bd7c2fc34048cd07e6b221ebbd882 (patch)
tree559de5b30cd25d7d82da0bb90d836ccff9f8c38c /lldb/packages/Python/lldbsuite/test/python_api
parentd4e80a9615639942f62ac808cdb195105218f813 (diff)
downloadbcm5719-llvm-1a4398a1986bd7c2fc34048cd07e6b221ebbd882.tar.gz
bcm5719-llvm-1a4398a1986bd7c2fc34048cd07e6b221ebbd882.zip
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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud