aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2021-07-16 03:46:22 +0000
committerMehdi Amini <joker.eph@gmail.com>2021-07-16 03:46:53 +0000
commit16b5e9d6a269913e8da0fa037e8af32eaf304c8f (patch)
tree2029314f1156239954ae10c5eb6748a303fdfc14 /llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
parent42f588f39c5ce6f521e3709b8871d1fdd076292f (diff)
downloadllvm-16b5e9d6a269913e8da0fa037e8af32eaf304c8f.zip
llvm-16b5e9d6a269913e8da0fa037e8af32eaf304c8f.tar.gz
llvm-16b5e9d6a269913e8da0fa037e8af32eaf304c8f.tar.bz2
Revert "Use ManagedStatic and lazy initialization of cl::opt in libSupport to make it free of global initializer"
This reverts commit 42f588f39c5ce6f521e3709b8871d1fdd076292f. Broke some buildbots
Diffstat (limited to 'llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp')
-rw-r--r--llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp b/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
index ef4aec5..9b01ff5 100644
--- a/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
+++ b/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
@@ -571,7 +571,7 @@ static Expected<Config> parseCommandLine(int Argc, char **Argv) {
int main(int Argc, char **Argv) {
InitLLVM X(Argc, Argv);
- cl::HideUnrelatedOptions({&LibtoolCategory, &getColorCategory()});
+ cl::HideUnrelatedOptions({&LibtoolCategory, &ColorCategory});
Expected<Config> ConfigOrErr = parseCommandLine(Argc, Argv);
if (!ConfigOrErr) {
WithColor::defaultErrorHandler(ConfigOrErr.takeError());