Switch all DWARF variables for tags, attributes and forms over to use the llvm::dwarf...
authorGreg Clayton <gclayton@apple.com>
Thu, 27 Oct 2016 16:32:04 +0000 (16:32 +0000)
committerGreg Clayton <gclayton@apple.com>
Thu, 27 Oct 2016 16:32:04 +0000 (16:32 +0000)
commit6c273763a366de3b1e22348b638795795fb7e005
tree5c0f236f8478957ccee8c081427a6fa2b497aff2
parentb94c09baa058e57b1e931746745050e19785ef30
Switch all DWARF variables for tags, attributes and forms over to use the llvm::dwarf enumerations instead of using raw uint16_t values. This allows easier debugging as users can see the values of the enumerations in the variables view that will show the enumeration string instead of just a number.

https://reviews.llvm.org/D26013

llvm-svn: 285309
12 files changed:
llvm/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h
llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h
llvm/include/llvm/Support/Dwarf.def
llvm/include/llvm/Support/Dwarf.h
llvm/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
llvm/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
llvm/tools/llvm-dwp/llvm-dwp.cpp
llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp