Enable all the new accelerator tables if they are present and don't manually

index the DWARF. Also fixed an issue with memory accelerator tables with a
size of 1 where we would loop infinitely.

Added support for parsing the new .apple_namespaces section which gives us a
memory hash table for looking up namespaces.

llvm-svn: 141128
This commit is contained in:
Greg Clayton
2011-10-04 22:41:51 +00:00
parent 6c98dfd0f4
commit 7f99513e8f
12 changed files with 843 additions and 346 deletions

View File

@@ -261,6 +261,7 @@ lldb_private::GetSectionTypeAsCString (SectionType sect_type)
case eSectionTypeDWARFDebugStr: return "dwarf-str";
case eSectionTypeDWARFAppleNames: return "apple-names";
case eSectionTypeDWARFAppleTypes: return "apple-types";
case eSectionTypeDWARFAppleNamespaces: return "apple-namespaces";
case eSectionTypeEHFrame: return "eh-frame";
case eSectionTypeOther: return "regular";
}