diff options
author | Adrian Prantl <aprantl@apple.com> | 2017-09-19 20:58:57 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2017-09-19 20:58:57 +0000 |
commit | ccc21c459b0ee0758c5ea12b386e2ade114f0031 (patch) | |
tree | c3c402d9defcca142623c38ce42256471de9e429 /llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp | |
parent | b780d909fe14c0f165e396310f13268010290904 (diff) | |
download | bcm5719-llvm-ccc21c459b0ee0758c5ea12b386e2ade114f0031.tar.gz bcm5719-llvm-ccc21c459b0ee0758c5ea12b386e2ade114f0031.zip |
llvm-dwarfdump: un-hide more command line options
llvm-svn: 313673
Diffstat (limited to 'llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp')
-rw-r--r-- | llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp b/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp index cb29e368f10..61d77aa76f4 100644 --- a/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp +++ b/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp @@ -114,7 +114,8 @@ static alias DumpAllAlias("a", desc("Alias for -all"), aliasopt(DumpAll)); // Options for dumping specific sections. static unsigned DumpType = DIDT_Null; -static std::array<llvm::Optional<uint64_t>, (unsigned)DIDT_ID_Count> DumpOffsets; +static std::array<llvm::Optional<uint64_t>, (unsigned)DIDT_ID_Count> + DumpOffsets; #define HANDLE_DWARF_SECTION(ENUM_NAME, ELF_NAME, CMDLINE_NAME) \ static opt<OffsetOption> Dump##ENUM_NAME( \ CMDLINE_NAME, desc("Dump the " ELF_NAME " section"), \ @@ -123,6 +124,7 @@ static std::array<llvm::Optional<uint64_t>, (unsigned)DIDT_ID_Count> DumpOffsets #undef HANDLE_DWARF_SECTION static alias DumpDebugFrameAlias("eh-frame", desc("Alias for -debug-frame"), + NotHidden, cat(DwarfDumpCategory), aliasopt(DumpDebugFrame)); static opt<bool> DumpUUID("uuid", desc("Show the UUID for each architecture"), cat(DwarfDumpCategory)); @@ -131,18 +133,21 @@ static alias DumpUUIDAlias("u", desc("Alias for -uuid"), aliasopt(DumpUUID)); static opt<bool> ShowChildren("show-children", desc("Show a debug info entry's children when selectively " - "printing with the =<offset> option")); + "printing with the =<offset> option"), + cat(DwarfDumpCategory)); static alias ShowChildrenAlias("c", desc("Alias for -show-children"), aliasopt(ShowChildren)); static opt<bool> ShowParents("show-parents", desc("Show a debug info entry's parents when selectively " - "printing with the =<offset> option")); + "printing with the =<offset> option"), + cat(DwarfDumpCategory)); static alias ShowParentsAlias("p", desc("Alias for -show-parents"), aliasopt(ShowParents)); static opt<bool> SummarizeTypes("summarize-types", - desc("Abbreviate the description of type unit entries")); + desc("Abbreviate the description of type unit entries"), + cat(DwarfDumpCategory)); static opt<bool> Verify("verify", desc("Verify the DWARF debug info"), cat(DwarfDumpCategory)); static opt<bool> Quiet("quiet", desc("Use with -verify to not emit to STDOUT."), |