Support: Re-implement dwarf::TagString() using a .def file, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 3 Feb 2015 21:13:16 +0000 (21:13 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 3 Feb 2015 21:13:16 +0000 (21:13 +0000)
commitb3d53c60653ebd134c3ea11181d1c188ddd2db25
treee6aec78b1601e0e915a59fdf675719d0bb72ec1f
parent17e8d42c63f46039fe602f4c885c558f83216a00
Support: Re-implement dwarf::TagString() using a .def file, NFC

Also re-implements the `dwarf::Tag` enumerator.  I've moved the mock
tags into the enumerator since there's no other way to do this.  Really
they shouldn't be used at all (they're just a hack to identify
`MDNode`s, but we have a class hierarchy for that now).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228030 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Dwarf.def [new file with mode: 0644]
include/llvm/Support/Dwarf.h
lib/Support/Dwarf.cpp