summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
diff options
context:
space:
mode:
authorAndrew Ng <anng.sw@gmail.com>2019-02-14 11:08:49 +0000
committerAndrew Ng <anng.sw@gmail.com>2019-02-14 11:08:49 +0000
commitd27cf27eb1fe49a244260e53df8e93a1dc10f7c8 (patch)
treee4f6a38c1977629c0970a0b3f0f2e0d51a767361 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
parent7f95f963911853cea81f01c919b46676d7a95f52 (diff)
downloadbcm5719-llvm-d27cf27eb1fe49a244260e53df8e93a1dc10f7c8.tar.gz
bcm5719-llvm-d27cf27eb1fe49a244260e53df8e93a1dc10f7c8.zip
[Support] Fix TempFile::discard to not leave behind temporary files
Moved the remove of the temporary file to after the close to avoid remove failures caused by ETXTBSY errors. This issue was seen when FileOutputBuffer falls back to an in memory buffer due to the inability to mmap the on disk file. This occurred when running LLD on an Ubuntu VM in VirtualBox on a Windows host attempting to write the output to a VirtualBox shared folder. Differential Revision: https://reviews.llvm.org/D57960 llvm-svn: 354017
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud