OSDN Git Service

[DWARF] Added verification check for tags in accelerator tables. This patch verifies...
authorSpyridoula Gravani <sgravani@apple.com>
Mon, 31 Jul 2017 18:01:16 +0000 (18:01 +0000)
committerSpyridoula Gravani <sgravani@apple.com>
Mon, 31 Jul 2017 18:01:16 +0000 (18:01 +0000)
commitd40539f8e398c7472c3f304f41543f7d06c618be
tree60ac896b865e0040a40510068435f7cb474b37c6
parentb84d22003386c90475eb6344e3125396b663604b
[DWARF] Added verification check for tags in accelerator tables. This patch verifies that the atom tag is actually the same with the tag of the DIE that we retrieve from the table.

Differential Revision: https://reviews.llvm.org/D35963

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309596 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
include/llvm/DebugInfo/DWARF/DWARFVerifier.h
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
lib/DebugInfo/DWARF/DWARFVerifier.cpp
test/tools/llvm-dwarfdump/X86/apple_types_verify_tag.s [new file with mode: 0644]