[dwarfdump] Add -show-form
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 2 Oct 2017 16:02:04 +0000 (16:02 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 2 Oct 2017 16:02:04 +0000 (16:02 +0000)
commitf91dc28b7b64e2ad75ccb21d66db3ff5f8b780d4
tree0814a278c81b5ab46fa02785f3fc74f53e07dc64
parentb7055bb8130ab84bc4b47849c0ff25d00b5ecca1
[dwarfdump] Add -show-form

This enables printing of DWARF form types after the DWARF attribute
types.

Differential revision: https://reviews.llvm.org/D38459

llvm-svn: 314685
llvm/include/llvm/DebugInfo/DIContext.h
llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
llvm/test/tools/llvm-dwarfdump/X86/form.test [new file with mode: 0644]
llvm/test/tools/llvm-dwarfdump/cmdline.test
llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp