This revision was automatically updated to reflect the committed changes.
Closed by commit rGb6ae8937e031: [lldb/PlatformDarwin] Always delete
destination file first in PutFile (authored by friss).
Changed prior to commit:
https://reviews.llvm.org/D76450?vs=251461=252146#toc
Repository:
rG
jasonmolenda accepted this revision.
jasonmolenda added a comment.
This revision is now accepted and ready to land.
nice catch, lgtm.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76450/new/
https://reviews.llvm.org/D76450
friss created this revision.
friss added a reviewer: jasonmolenda.
Herald added a project: LLDB.
The default behavior of Platform::PutFile is to open the file and
truncate it if it already exists. This works fine and is a sensible
default, but it interacts badly with code-signing on iOS, as doing