aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2021-07-16 07:34:41 +0000
committerMehdi Amini <joker.eph@gmail.com>2021-07-16 07:35:13 +0000
commit8d051d854619956de633047409149cdab1e3319a (patch)
treee51ddd9e2fdb3237526b74ab09484bec6b4ca44a /llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
parent3d3dc9523f9b2ec9d83d37bd8a757726f37b6ee5 (diff)
downloadllvm-8d051d854619956de633047409149cdab1e3319a.zip
llvm-8d051d854619956de633047409149cdab1e3319a.tar.gz
llvm-8d051d854619956de633047409149cdab1e3319a.tar.bz2
Revert "Use ManagedStatic and lazy initialization of cl::opt in libSupport to make it free of global initializer"
This reverts commit af9321739b20becf170e6bb5060b8d780e1dc8dd. Still some specific config broken in some way that requires more investigation.
Diffstat (limited to 'llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp')
-rw-r--r--llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp b/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
index a324ff7..1180e02 100644
--- a/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
+++ b/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
@@ -623,8 +623,7 @@ int main(int argc, char **argv) {
llvm::InitializeAllTargetInfos();
llvm::InitializeAllTargetMCs();
- HideUnrelatedOptions(
- {&DwarfDumpCategory, &SectionCategory, &getColorCategory()});
+ HideUnrelatedOptions({&DwarfDumpCategory, &SectionCategory, &ColorCategory});
cl::ParseCommandLineOptions(
argc, argv,
"pretty-print DWARF debug information in object files"