commit | 58d4a39f630a4caf6faed2d4ce034bb27d88586a | [log] [tgz] |
---|---|---|
author | Jonas Devlieghere <jonas@devlieghere.com> | Sun Jul 29 14:56:15 2018 +0000 |
committer | Jonas Devlieghere <jonas@devlieghere.com> | Sun Jul 29 14:56:15 2018 +0000 |
tree | 75e54c28b0a9afd6a9c79ee9c294e2ebb8083720 | |
parent | 769bf94359ceea286ee843f3e4bfba807ec18308 [diff] |
[dsymutil] Simplify temporary file handling. Dsymutil's update functionality was broken on Windows because we tried to rename a file while we're holding open handles to that file. TempFile provides a solution for this through its keep(Twine) method. This patch changes dsymutil to make use of that functionality. Differential revision: https://reviews.llvm.org/D49860 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338216 91177308-0d34-0410-b5e6-96231b3b80d8