From 83544cf660d96e191f539ddb5e49aa6aa1feb93c Mon Sep 17 00:00:00 2001 From: Tamas Berghammer Date: Tue, 7 Apr 2015 10:43:50 +0000 Subject: Ignore mapping symbols on aarch64 ELF symbol tables on aarch64 may contains some mapping symbols. They provide information about the underlying data but interfere with symbol look-up of lldb. They are already ignored on arm32. With this CL they will be ignored on aarch64 also. Differential revision: http://reviews.llvm.org/D8776 llvm-svn: 234307 --- lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h') diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h index fd5ee45c0c0..8ea3daba327 100644 --- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h +++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h @@ -219,6 +219,8 @@ private: typedef DynamicSymbolColl::iterator DynamicSymbolCollIter; typedef DynamicSymbolColl::const_iterator DynamicSymbolCollConstIter; + typedef std::map FileAddressToAddressClassMap; + /// Version of this reader common to all plugins based on this class. static const uint32_t m_plugin_version = 1; static const uint32_t g_core_uuid_magic; @@ -252,6 +254,9 @@ private: /// The architecture detected from parsing elf file contents. lldb_private::ArchSpec m_arch_spec; + /// The address class for each symbol in the elf file + FileAddressToAddressClassMap m_address_class_map; + /// Returns a 1 based index of the given section header. size_t SectionIndex(const SectionHeaderCollIter &I); -- cgit v1.2.3