[Dwarf] Complete the list of type tags.
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 13 Aug 2019 17:00:54 +0000 (17:00 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 13 Aug 2019 17:00:54 +0000 (17:00 +0000)
commit57ae300562f826e3fee81017d6473a5dec516383
tree6a6d4222690aef90e93d9c243d8070498408223d
parent6d716ef1814bea126dcdb761eb2482abb9c44f39
[Dwarf] Complete the list of type tags.

An incorrect verification error revealed that the list of type tags was
incomplete. This patch adds the missing types by adding a tag kind to
the Dwarf.def file, which is used by the `isType` function.

A test was added for the original verification error.

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

llvm-svn: 368718
llvm/include/llvm/BinaryFormat/Dwarf.def
llvm/include/llvm/BinaryFormat/Dwarf.h
llvm/include/llvm/ObjectYAML/DWARFYAML.h
llvm/lib/BinaryFormat/Dwarf.cpp
llvm/test/DebugInfo/X86/template.ll