diff options
author | Jordan Rupprecht <rupprecht@google.com> | 2018-11-01 17:36:37 +0000 |
---|---|---|
committer | Jordan Rupprecht <rupprecht@google.com> | 2018-11-01 17:36:37 +0000 |
commit | fc780bbb1604859511dc74fc4b8986bb11194019 (patch) | |
tree | 7923ebcff0253e1a9b045bee84599d32be5da899 /llvm/tools/llvm-objcopy/CopyConfig.h | |
parent | cc1e9c414bd2109927ac37fb46c1c4b3967682e6 (diff) | |
download | bcm5719-llvm-fc780bbb1604859511dc74fc4b8986bb11194019.tar.gz bcm5719-llvm-fc780bbb1604859511dc74fc4b8986bb11194019.zip |
[llvm-objcopy] Support --{enable,disable}-deterministic-archives
Summary: ar and objcopy/strip all support configuring whether archives are written deterministically (timestamps/UIDs/GIDs/etc zero'd). This has been ported to llvm-ar (the U/D modifiers) but not yet to llvm-objcopy/strip.
Reviewers: jakehehrlich, jhenderson, alexshap
Reviewed By: jhenderson
Subscribers: ruiu, mgrang, llvm-commits
Differential Revision: https://reviews.llvm.org/D53913
llvm-svn: 345859
Diffstat (limited to 'llvm/tools/llvm-objcopy/CopyConfig.h')
-rw-r--r-- | llvm/tools/llvm-objcopy/CopyConfig.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-objcopy/CopyConfig.h b/llvm/tools/llvm-objcopy/CopyConfig.h index 203432a11a6..7ebe2a072bb 100644 --- a/llvm/tools/llvm-objcopy/CopyConfig.h +++ b/llvm/tools/llvm-objcopy/CopyConfig.h @@ -72,6 +72,7 @@ struct CopyConfig { StringMap<StringRef> SymbolsToRename; // Boolean options + bool DeterministicArchives = true; bool DiscardAll = false; bool ExtractDWO = false; bool KeepFileSymbols = false; |