[PATCH] D93881: [llvm-objcopy] preserve file ownership when overwritten

Jian Cai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 2 20:28:34 PST 2021


jcai19 updated this revision to Diff 320981.
jcai19 added a comment.

Update the ownership of the temporary file, instead of the overwritten file.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93881/new/

https://reviews.llvm.org/D93881

Files:
  llvm/include/llvm/Support/FileOutputBuffer.h
  llvm/include/llvm/Support/FileSystem.h
  llvm/lib/Support/FileOutputBuffer.cpp
  llvm/lib/Support/Unix/Path.inc
  llvm/tools/llvm-objcopy/Buffer.cpp
  llvm/tools/llvm-objcopy/Buffer.h
  llvm/tools/llvm-objcopy/llvm-objcopy.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93881.320981.patch
Type: text/x-patch
Size: 6080 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210203/b448c986/attachment.bin>


More information about the llvm-commits mailing list