diff options
| author | Jim Laskey <jlaskey@mac.com> | 2006-08-21 21:18:10 +0000 |
|---|---|---|
| committer | Jim Laskey <jlaskey@mac.com> | 2006-08-21 21:18:10 +0000 |
| commit | 5c51c2b4ab3fd7d812ab73d998e0d86be09979e9 (patch) | |
| tree | 6784530970d570d74f5d4580f2a2905d92c04afb | |
| parent | 235abe4ce867ba45403ea19c52b2be0b6b56c170 (diff) | |
| download | bcm5719-llvm-5c51c2b4ab3fd7d812ab73d998e0d86be09979e9.tar.gz bcm5719-llvm-5c51c2b4ab3fd7d812ab73d998e0d86be09979e9.zip | |
Adding new Dwarf constants.
llvm-svn: 29798
| -rw-r--r-- | llvm/include/llvm/Support/Dwarf.h | 5 | ||||
| -rw-r--r-- | llvm/lib/Support/Dwarf.cpp | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/Dwarf.h b/llvm/include/llvm/Support/Dwarf.h index 05260be2d7c..e8aa3846348 100644 --- a/llvm/include/llvm/Support/Dwarf.h +++ b/llvm/include/llvm/Support/Dwarf.h @@ -202,7 +202,8 @@ enum dwarf_constants { DW_AT_elemental = 0x66, DW_AT_pure = 0x67, DW_AT_recursive = 0x68, - DW_AT_sf_names = 0x2101, + DW_AT_MIPS_linkage_name = 0x2007, + DW_AT_sf_names = 0x2101, DW_AT_src_info = 0x2102, DW_AT_mac_info = 0x2103, DW_AT_src_coords = 0x2104, @@ -211,7 +212,7 @@ enum dwarf_constants { DW_AT_GNU_vector = 0x2107, DW_AT_lo_user = 0x2000, DW_AT_hi_user = 0x3fff, - + // Attribute form encodings DW_FORM_addr = 0x01, DW_FORM_block2 = 0x03, diff --git a/llvm/lib/Support/Dwarf.cpp b/llvm/lib/Support/Dwarf.cpp index 35862e84392..572ba197fa1 100644 --- a/llvm/lib/Support/Dwarf.cpp +++ b/llvm/lib/Support/Dwarf.cpp @@ -189,6 +189,7 @@ const char *AttributeString(unsigned Attribute) { case DW_AT_elemental: return "AT_elemental"; case DW_AT_pure: return "AT_pure"; case DW_AT_recursive: return "AT_recursive"; + case DW_AT_MIPS_linkage_name: return "AT_MIPS_linkage_name"; case DW_AT_sf_names: return "AT_sf_names"; case DW_AT_src_info: return "AT_src_info"; case DW_AT_mac_info: return "AT_mac_info"; |

