[llvm-strip] Add support for -p/--preserve-dates
authorJordan Rupprecht <rupprecht@google.com>
Thu, 16 Aug 2018 18:29:40 +0000 (18:29 +0000)
committerJordan Rupprecht <rupprecht@google.com>
Thu, 16 Aug 2018 18:29:40 +0000 (18:29 +0000)
commitd1767dc56f5be75bdff23f3fe33e54428fed704f
tree8d75c60dba6e982208745f6b768aac10e1b1f4a4
parent8b5e6991d28c7a672b7d88bb15a755566dd66199
[llvm-strip] Add support for -p/--preserve-dates

Summary: [llvm-strip] Preserve access/modification timestamps when -p is used.

Reviewers: jakehehrlich, jhenderson, alexshap

Reviewed By: jhenderson

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D50744

llvm-svn: 339921
llvm/test/tools/llvm-objcopy/strip-preserve-time.test [new file with mode: 0644]
llvm/tools/llvm-objcopy/ObjcopyOpts.td
llvm/tools/llvm-objcopy/StripOpts.td
llvm/tools/llvm-objcopy/llvm-objcopy.cpp