From: Adrian Prantl Date: Wed, 20 Sep 2017 23:29:31 +0000 (+0000) Subject: llvm-dwarfdump: move -eh-frame into the right section in the help output. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff00c9c5ca97887f366c2da5a1e973f5dbc90778;p=llvm llvm-dwarfdump: move -eh-frame into the right section in the help output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313836 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/llvm-dwarfdump/cmdline.test b/test/tools/llvm-dwarfdump/cmdline.test index 0e31d7129a6..e1cf29497fd 100644 --- a/test/tools/llvm-dwarfdump/cmdline.test +++ b/test/tools/llvm-dwarfdump/cmdline.test @@ -5,6 +5,7 @@ HELP-NOT: -reverse-iterate HELP: Section-specific Dump Options HELP: -debug-info - Dump the .debug_info section HELP: -eh-frame +HELP: Specific Options HELP: -recurse-depth= HELP: -show-children HELP: -show-parents diff --git a/tools/llvm-dwarfdump/llvm-dwarfdump.cpp b/tools/llvm-dwarfdump/llvm-dwarfdump.cpp index aba59d0d5b9..0f75f36af7e 100644 --- a/tools/llvm-dwarfdump/llvm-dwarfdump.cpp +++ b/tools/llvm-dwarfdump/llvm-dwarfdump.cpp @@ -124,7 +124,7 @@ static std::array, (unsigned)DIDT_ID_Count> #undef HANDLE_DWARF_SECTION static alias DumpDebugFrameAlias("eh-frame", desc("Alias for -debug-frame"), - NotHidden, cat(DwarfDumpCategory), + NotHidden, cat(SectionCategory), aliasopt(DumpDebugFrame)); static opt DumpUUID("uuid", desc("Show the UUID for each architecture"), cat(DwarfDumpCategory));