1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Provide tag strings for llvm specific tags.

llvm-svn: 125986
This commit is contained in:
Devang Patel 2011-02-18 23:06:29 +00:00
parent d63bce18da
commit 7bc042d9d4
2 changed files with 4 additions and 1 deletions

View File

@ -49,7 +49,6 @@ enum llvm_dwarf_constants {
DW_TAG_auto_variable = 0x100, // Tag for local (auto) variables.
DW_TAG_arg_variable = 0x101, // Tag for argument variables.
DW_TAG_return_variable = 0x102, // Tag for return variables.
DW_TAG_vector_type = 0x103, // Tag for vector types.
DW_TAG_user_base = 0x1000, // Recommended base for user tags.

View File

@ -78,6 +78,10 @@ const char *llvm::dwarf::TagString(unsigned Tag) {
case DW_TAG_shared_type: return "DW_TAG_shared_type";
case DW_TAG_lo_user: return "DW_TAG_lo_user";
case DW_TAG_hi_user: return "DW_TAG_hi_user";
case DW_TAG_auto_variable: return "DW_TAG_auto_variable";
case DW_TAG_arg_variable: return "DW_TAG_arg_variable";
case DW_TAG_return_variable: return "DW_TAG_return_variable";
case DW_TAG_vector_type: return "DW_TAG_vector_type";
}
return 0;
}