[PATCH] D84209: [llvm-libtool-darwin] Add support for -D and -U option

Sameer Arora via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 28 07:08:13 PDT 2020


sameerarora101 added inline comments.


================
Comment at: llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp:25
 
+static bool Deterministic; // Updated by 'D' and 'U' modifiers
+
----------------
sameerarora101 wrote:
> jhenderson wrote:
> > I'm not particularly a fan of adding a global variable for this. Are there going to be other configuration options? If so, I'd recommend creating a Config class/struct, that can be created and passed around instead.
> > 
> > (Also, missing trailing full stop in comment)
> For now, there aren't any other configuration options that vary depending on the flags passed in on the command line. However, I can still wrap this in a Config class/struct just in case one is needed in the future? What do you think?
By "For now" I am referring to the period until we add full support for creating **static** libraries. ( I am not completely sure yet about the dynamic case)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84209/new/

https://reviews.llvm.org/D84209



More information about the llvm-commits mailing list