From 6f397bf4c8f19691bde016e5e6fbeddf8cd7f363 Mon Sep 17 00:00:00 2001 From: Jim Laskey Date: Mon, 21 Aug 2006 21:18:10 +0000 Subject: [PATCH] Adding new Dwarf constants. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29798 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/Dwarf.h | 5 +++-- lib/Support/Dwarf.cpp | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/llvm/Support/Dwarf.h b/include/llvm/Support/Dwarf.h index 05260be2d7c..e8aa3846348 100644 --- a/include/llvm/Support/Dwarf.h +++ b/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/lib/Support/Dwarf.cpp b/lib/Support/Dwarf.cpp index 35862e84392..572ba197fa1 100644 --- a/lib/Support/Dwarf.cpp +++ b/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";