Add DW_ATE_UTF, which clang started using in my previous commit!

llvm-svn: 139503
This commit is contained in:
Devang Patel 2011-09-12 17:18:20 +00:00
parent 98ca8aeca6
commit b5a07abe94
2 changed files with 2 additions and 0 deletions

View File

@ -428,6 +428,7 @@ enum dwarf_constants {
DW_ATE_unsigned = 0x07, DW_ATE_unsigned = 0x07,
DW_ATE_unsigned_char = 0x08, DW_ATE_unsigned_char = 0x08,
DW_ATE_imaginary_float = 0x09, DW_ATE_imaginary_float = 0x09,
DW_ATE_UTF = 0x10,
DW_ATE_packed_decimal = 0x0a, DW_ATE_packed_decimal = 0x0a,
DW_ATE_numeric_string = 0x0b, DW_ATE_numeric_string = 0x0b,
DW_ATE_edited = 0x0c, DW_ATE_edited = 0x0c,

View File

@ -416,6 +416,7 @@ const char *llvm::dwarf::AttributeEncodingString(unsigned Encoding) {
case DW_ATE_unsigned: return "DW_ATE_unsigned"; case DW_ATE_unsigned: return "DW_ATE_unsigned";
case DW_ATE_unsigned_char: return "DW_ATE_unsigned_char"; case DW_ATE_unsigned_char: return "DW_ATE_unsigned_char";
case DW_ATE_imaginary_float: return "DW_ATE_imaginary_float"; case DW_ATE_imaginary_float: return "DW_ATE_imaginary_float";
case DW_ATE_UTF: return "DW_ATE_UTF";
case DW_ATE_packed_decimal: return "DW_ATE_packed_decimal"; case DW_ATE_packed_decimal: return "DW_ATE_packed_decimal";
case DW_ATE_numeric_string: return "DW_ATE_numeric_string"; case DW_ATE_numeric_string: return "DW_ATE_numeric_string";
case DW_ATE_edited: return "DW_ATE_edited"; case DW_ATE_edited: return "DW_ATE_edited";