[PATCH] D123821: [llvm-objcopy][NFC] refactor restoreStatOnFile out of llvm-objcopy.

Alexey Lapshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 14 13:35:23 PDT 2022


avl created this revision.
avl added reviewers: jhenderson, MaskRay, rupprecht, alexander-shaposhnikov.
Herald added subscribers: StephenFan, dexonsmith, abrachet, hiraditya.
Herald added a project: All.
avl requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Functionality of restoreStatOnFile may be reused. Move it into
FileUtilities.cpp. Create helper class FilePermissionsCarrier
to store and apply permissions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123821

Files:
  llvm/include/llvm/Support/FileUtilities.h
  llvm/lib/Support/FileUtilities.cpp
  llvm/tools/llvm-objcopy/llvm-objcopy.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123821.422952.patch
Type: text/x-patch
Size: 8268 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220414/e6cb72c0/attachment.bin>


More information about the llvm-commits mailing list