diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2021-07-16 03:46:22 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2021-07-16 03:46:53 +0000 |
commit | 16b5e9d6a269913e8da0fa037e8af32eaf304c8f (patch) | |
tree | 2029314f1156239954ae10c5eb6748a303fdfc14 /llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp | |
parent | 42f588f39c5ce6f521e3709b8871d1fdd076292f (diff) | |
download | llvm-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.cpp | 2 |
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()); |