OSDN Git Service

llvm-dwarfdump: move -eh-frame into the right section in the help output.
authorAdrian Prantl <aprantl@apple.com>
Wed, 20 Sep 2017 23:29:31 +0000 (23:29 +0000)
committerAdrian Prantl <aprantl@apple.com>
Wed, 20 Sep 2017 23:29:31 +0000 (23:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313836 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/llvm-dwarfdump/cmdline.test
tools/llvm-dwarfdump/llvm-dwarfdump.cpp

index 0e31d71..e1cf294 100644 (file)
@@ -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=<N> 
 HELP: -show-children
 HELP: -show-parents
index aba59d0..0f75f36 100644 (file)
@@ -124,7 +124,7 @@ static std::array<llvm::Optional<uint64_t>, (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<bool> DumpUUID("uuid", desc("Show the UUID for each architecture"),
                           cat(DwarfDumpCategory));