[PATCH] D53913: [llvm-objcopy] Support --{enable, disable}-deterministic-archives

Jordan Rupprecht via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 30 17:21:34 PDT 2018


rupprecht added a comment.

In https://reviews.llvm.org/D53913#1281610, @ruiu wrote:

> > It was before this patch and it still is. This is providing the option to make it not default (if anyone wants that), and also won't break if someone is explicitly running "objcopy --enable-deterministic-archives" and we drop llvm-objcopy in place of that.
>
> Oh sorry I didn't notice that. What was the motivation for you to add a new flag so that you can choose deterministic and non-deterministic? (Just wondering.)


These flags exist in GNU strip/objcopy/ar (see [man strip]), so it isn't really "new".
If we convert users of strip to llvm-strip, they will break if they are specifying --enable-determinstic-archives and this flag is not defined.


Repository:
  rL LLVM

https://reviews.llvm.org/D53913





More information about the llvm-commits mailing list