Support: Use Dwarf.def for DW_VIRTUALITY, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 7 Feb 2015 00:36:23 +0000 (00:36 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 7 Feb 2015 00:36:23 +0000 (00:36 +0000)
commitd6f357421098c8c1a3433d422e87f5b35aeeca29
tree3c1454fa7656d93baff8ebbecb396c7a9f50f991
parentdc494d5303e01c36237de42ec09077b03b58fa88
Support: Use Dwarf.def for DW_VIRTUALITY, NFC

Use definition file for `DW_VIRTUALITY_*`.  Add a `DW_VIRTUALITY_max`
both for ease of testing and for future use by the `LLParser`.

llvm-svn: 228473
llvm/include/llvm/Support/Dwarf.def
llvm/include/llvm/Support/Dwarf.h
llvm/lib/Support/Dwarf.cpp
llvm/unittests/Support/DwarfTest.cpp