[PATCH] D37717: llvm-dwarfdump: Make -brief the default and add -verbose instead.

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 11 15:44:58 PDT 2017


aprantl created this revision.
Herald added subscribers: fedor.sergeev, eraman, javed.absar, nhaehnle, sdardis, emaste, mehdi_amini, jyknight.

This patch reverses the defaults and make --brief the default behavior for llvm-dwarfdump and instead introduces a --verbose option. This is matches the behavior of Darwin dwarfdump and is also generally a more sensible default for human users who often don't care about details like abbreviations or forms.


Repository:
  rL LLVM

https://reviews.llvm.org/D37717

Files:
  test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
  test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll
  test/CodeGen/ARM/debug-info-blocks.ll
  test/CodeGen/X86/2010-01-18-DbgValue.ll
  test/CodeGen/X86/2011-01-24-DbgValue-Before-Use.ll
  test/CodeGen/X86/dbg-baseptr.ll
  test/CodeGen/X86/dwarf-headers.ll
  test/DebugInfo/AArch64/asan-stack-vars.ll
  test/DebugInfo/AArch64/bitfields.ll
  test/DebugInfo/AArch64/dwarfdump.ll
  test/DebugInfo/AArch64/frameindices.ll
  test/DebugInfo/AArch64/line-header.ll
  test/DebugInfo/AMDGPU/dwarfdump-relocs.ll
  test/DebugInfo/AMDGPU/pointer-address-space.ll
  test/DebugInfo/AMDGPU/variable-locations.ll
  test/DebugInfo/ARM/PR26163.ll
  test/DebugInfo/ARM/big-endian-bitfield.ll
  test/DebugInfo/ARM/bitfield.ll
  test/DebugInfo/ARM/partial-subreg.ll
  test/DebugInfo/ARM/split-complex.ll
  test/DebugInfo/Generic/2010-04-06-NestedFnDbgInfo.ll
  test/DebugInfo/Generic/PR20038.ll
  test/DebugInfo/Generic/constant-pointers.ll
  test/DebugInfo/Generic/cross-cu-inlining.ll
  test/DebugInfo/Generic/cross-cu-linkonce-distinct.ll
  test/DebugInfo/Generic/cross-cu-linkonce.ll
  test/DebugInfo/Generic/cu-ranges.ll
  test/DebugInfo/Generic/dead-argument-order.ll
  test/DebugInfo/Generic/debug-info-qualifiers.ll
  test/DebugInfo/Generic/enum-types.ll
  test/DebugInfo/Generic/enum.ll
  test/DebugInfo/Generic/gmlt_profiling.ll
  test/DebugInfo/Generic/imported-name-inlined.ll
  test/DebugInfo/Generic/incorrect-variable-debugloc.ll
  test/DebugInfo/Generic/linkage-name-abstract.ll
  test/DebugInfo/Generic/mainsubprogram.ll
  test/DebugInfo/Generic/member-order.ll
  test/DebugInfo/Generic/member-pointers.ll
  test/DebugInfo/Generic/missing-abstract-variable.ll
  test/DebugInfo/Generic/namespace.ll
  test/DebugInfo/Generic/namespace_function_definition.ll
  test/DebugInfo/Generic/namespace_inline_function_definition.ll
  test/DebugInfo/Generic/nodebug.ll
  test/DebugInfo/Generic/ptrsize.ll
  test/DebugInfo/Generic/recursive_inlining.ll
  test/DebugInfo/Generic/restrict.ll
  test/DebugInfo/Generic/sugared-constants.ll
  test/DebugInfo/Generic/template-recursive-void.ll
  test/DebugInfo/Generic/thrownTypes.ll
  test/DebugInfo/Generic/tu-composite.ll
  test/DebugInfo/Generic/tu-member-pointer.ll
  test/DebugInfo/Generic/unconditional-branch.ll
  test/DebugInfo/Generic/varargs.ll
  test/DebugInfo/Generic/virtual-index.ll
  test/DebugInfo/MIR/AArch64/implicit-def-dead-scope.mir
  test/DebugInfo/MIR/X86/bit-piece-dh.mir
  test/DebugInfo/MIR/X86/empty-inline.mir
  test/DebugInfo/Mips/delay-slot.ll
  test/DebugInfo/Mips/dsr-fixed-objects.ll
  test/DebugInfo/Mips/dsr-non-fixed-objects.ll
  test/DebugInfo/Sparc/gnu-window-save.ll
  test/DebugInfo/SystemZ/variable-loc.ll
  test/DebugInfo/SystemZ/variable-loc.s
  test/DebugInfo/X86/2011-09-26-GlobalVarContext.ll
  test/DebugInfo/X86/DW_AT_calling-convention.ll
  test/DebugInfo/X86/DW_AT_linkage_name.ll
  test/DebugInfo/X86/DW_AT_location-reference.ll
  test/DebugInfo/X86/DW_AT_object_pointer.ll
  test/DebugInfo/X86/DW_AT_specification.ll
  test/DebugInfo/X86/DW_AT_stmt_list_sec_offset.ll
  test/DebugInfo/X86/DW_TAG_friend.ll
  test/DebugInfo/X86/FrameIndexExprs.ll
  test/DebugInfo/X86/array.ll
  test/DebugInfo/X86/bitfields-dwarf4.ll
  test/DebugInfo/X86/bitfields.ll
  test/DebugInfo/X86/block-capture.ll
  test/DebugInfo/X86/byvalstruct.ll
  test/DebugInfo/X86/concrete_out_of_line.ll
  test/DebugInfo/X86/constant-aggregate.ll
  test/DebugInfo/X86/constant-loclist.ll
  test/DebugInfo/X86/data_member_location.ll
  test/DebugInfo/X86/dbg-abstract-vars-g-gmlt.ll
  test/DebugInfo/X86/dbg-const-int.ll
  test/DebugInfo/X86/dbg-declare-alloca.ll
  test/DebugInfo/X86/dbg-declare-arg.ll
  test/DebugInfo/X86/dbg-declare.ll
  test/DebugInfo/X86/dbg-value-frame-index.ll
  test/DebugInfo/X86/dbg-value-g-gmlt.ll
  test/DebugInfo/X86/dbg-value-inlined-parameter.ll
  test/DebugInfo/X86/dbg-value-location.ll
  test/DebugInfo/X86/dbg-value-regmask-clobber.ll
  test/DebugInfo/X86/debug-info-blocks.ll
  test/DebugInfo/X86/debug-info-packed-struct.ll
  test/DebugInfo/X86/debug-info-static-member.ll
  test/DebugInfo/X86/debug-loc-frame.ll
  test/DebugInfo/X86/debug-loc-offset.ll
  test/DebugInfo/X86/debug-macro.ll
  test/DebugInfo/X86/default-subrange-array.ll
  test/DebugInfo/X86/double-declare.ll
  test/DebugInfo/X86/dw_op_minus_direct.ll
  test/DebugInfo/X86/dwarfdump-debug-loc-simple.test
  test/DebugInfo/X86/dwarfdump-ranges-baseaddr-exe.s
  test/DebugInfo/X86/dwarfdump-ranges-baseaddr.s
  test/DebugInfo/X86/dwarfdump-ranges-unrelocated.s
  test/DebugInfo/X86/elf-names.ll
  test/DebugInfo/X86/empty-and-one-elem-array.ll
  test/DebugInfo/X86/empty-array.ll
  test/DebugInfo/X86/empty.ll
  test/DebugInfo/X86/enum-class.ll
  test/DebugInfo/X86/fi-expr.ll
  test/DebugInfo/X86/fi-piece.ll
  test/DebugInfo/X86/fission-cu.ll
  test/DebugInfo/X86/fission-hash.ll
  test/DebugInfo/X86/fission-inline.ll
  test/DebugInfo/X86/fission-ranges.ll
  test/DebugInfo/X86/float_const.ll
  test/DebugInfo/X86/float_const_loclist.ll
  test/DebugInfo/X86/frame-register.ll
  test/DebugInfo/X86/generate-odr-hash.ll
  test/DebugInfo/X86/gmlt.test
  test/DebugInfo/X86/gnu-public-names-empty.ll
  test/DebugInfo/X86/gnu-public-names-gmlt.ll
  test/DebugInfo/X86/gnu-public-names-tu.ll
  test/DebugInfo/X86/gnu-public-names.ll
  test/DebugInfo/X86/inline-member-function.ll
  test/DebugInfo/X86/inline-namespace.ll
  test/DebugInfo/X86/inlined-formal-parameter.ll
  test/DebugInfo/X86/lexical-block-file-inline.ll
  test/DebugInfo/X86/lexical_block.ll
  test/DebugInfo/X86/line-info.ll
  test/DebugInfo/X86/linkage-name.ll
  test/DebugInfo/X86/low-pc-cu.ll
  test/DebugInfo/X86/main-file-name.s
  test/DebugInfo/X86/misched-dbg-value.ll
  test/DebugInfo/X86/multiple-at-const-val.ll
  test/DebugInfo/X86/nondefault-subrange-array.ll
  test/DebugInfo/X86/objc-property-void.ll
  test/DebugInfo/X86/op_deref.ll
  test/DebugInfo/X86/parameters.ll
  test/DebugInfo/X86/partial-constant.ll
  test/DebugInfo/X86/pieces-2.ll
  test/DebugInfo/X86/pieces-3.ll
  test/DebugInfo/X86/pr11300.ll
  test/DebugInfo/X86/ref_addr_relocation.ll
  test/DebugInfo/X86/reference-argument.ll
  test/DebugInfo/X86/single-dbg_value.ll
  test/DebugInfo/X86/single-fi.ll
  test/DebugInfo/X86/split-dwarf-cross-unit-reference.ll
  test/DebugInfo/X86/split-global.ll
  test/DebugInfo/X86/sret.ll
  test/DebugInfo/X86/stack-value-piece.ll
  test/DebugInfo/X86/static_member_array.ll
  test/DebugInfo/X86/stmt-list-multiple-compile-units.ll
  test/DebugInfo/X86/subrange-type.ll
  test/DebugInfo/X86/subregisters.ll
  test/DebugInfo/X86/template.ll
  test/DebugInfo/X86/this-stack_value.ll
  test/DebugInfo/X86/type_units_with_addresses.ll
  test/DebugInfo/X86/union-const.ll
  test/DebugInfo/arm-relocs.test
  test/DebugInfo/dwarfdump-accel.test
  test/DebugInfo/dwarfdump-dwp.test
  test/DebugInfo/dwarfdump-header.test
  test/DebugInfo/dwarfdump-line-dwo.test
  test/DebugInfo/dwarfdump-macho-universal.test
  test/DebugInfo/dwarfdump-objc.test
  test/DebugInfo/dwarfdump-ranges.test
  test/DebugInfo/dwarfdump-str-offsets-dwp.test
  test/DebugInfo/dwarfdump-str-offsets-invalid.test
  test/DebugInfo/dwarfdump-str-offsets.test
  test/DebugInfo/dwarfdump-type-units.test
  test/DebugInfo/dwarfdump-zlib.test
  test/DebugInfo/typeunit-header.test
  test/Linker/type-unique-odr-a.ll
  test/Linker/type-unique-simple-a.ll
  test/Linker/type-unique-simple2-a.ll
  test/Linker/type-unique-simple2.ll
  test/Linker/type-unique-type-array-a.ll
  test/MC/ARM/dwarf-asm-multiple-sections-dwarf-2.s
  test/MC/ARM/dwarf-asm-multiple-sections.s
  test/MC/ARM/dwarf-asm-no-code.s
  test/MC/ARM/dwarf-asm-nonstandard-section.s
  test/MC/ARM/dwarf-asm-single-section.s
  test/MC/ARM/dwarf-cfi-initial-state.s
  test/MC/ELF/cfi-version.ll
  test/MC/ELF/comp-dir.s
  test/MC/MachO/gen-dwarf-producer.s
  test/MC/MachO/gen-dwarf.s
  test/Object/Mips/reloc-visit.test
  test/tools/dsymutil/X86/basic-linking-bundle.test
  test/tools/dsymutil/X86/basic-linking-x86.test
  test/tools/dsymutil/X86/basic-lto-dw4-linking-x86.test
  test/tools/dsymutil/X86/basic-lto-linking-x86.test
  test/tools/dsymutil/X86/common-sym.test
  test/tools/dsymutil/X86/generate-empty-CU.test
  test/tools/dsymutil/X86/modules.m
  test/tools/dsymutil/X86/multiple-inputs.test
  test/tools/dsymutil/X86/odr-fwd-declaration.cpp
  test/tools/dsymutil/X86/odr-fwd-declaration2.cpp
  test/tools/dsymutil/X86/odr-uniquing.cpp
  test/tools/dsymutil/X86/submodules.m
  test/tools/llvm-dwarfdump/X86/brief.s
  test/tools/llvm-dwp/X86/compress.test
  test/tools/llvm-dwp/X86/dwos_list_from_exec_simple.test
  test/tools/llvm-dwp/X86/empty.test
  test/tools/llvm-dwp/X86/gcc_type.test
  test/tools/llvm-dwp/X86/merge.test
  test/tools/llvm-dwp/X86/simple.test
  test/tools/llvm-dwp/X86/type_dedup.test
  tools/llvm-dwarfdump/llvm-dwarfdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37717.114722.patch
Type: text/x-patch
Size: 133753 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170911/66b258d2/attachment-0001.bin>


More information about the llvm-commits mailing list