[dwarfdump] Add pretty printer for accelerator table based on Atom.
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 13 Jul 2018 17:21:51 +0000 (17:21 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 13 Jul 2018 17:21:51 +0000 (17:21 +0000)
commit327e7a16083c0bec70841288876815554e5f4367
tree46bdb32e11eb2d64e903b3d9b16a3d7e7792edc4
parente86e6efea18ee10893b9f0d659482dbfdfe25e00
[dwarfdump] Add pretty printer for accelerator table based on Atom.

For instance, When dumping .apple_types, the second atom represents the
DW_TAG. In addition to printing the raw value, we now also pretty print
the value if the ATOM tells us how.

llvm-svn: 337026
llvm/include/llvm/BinaryFormat/Dwarf.h
llvm/lib/BinaryFormat/Dwarf.cpp
llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
llvm/test/tools/dsymutil/X86/objc.test