[PATCH] D93881: [llvm-objcopy] preserve file ownership when overwritten
Jian Cai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 5 12:55:19 PST 2021
jcai19 updated this revision to Diff 321855.
jcai19 added a comment.
Reuse the result of stat instead of calling it on the output file again.
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.321855.patch
Type: text/x-patch
Size: 6975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210205/606a2cf6/attachment.bin>
More information about the llvm-commits
mailing list