diff options
author | Tamas Berghammer <tberghammer@google.com> | 2015-04-07 10:43:50 +0000 |
---|---|---|
committer | Tamas Berghammer <tberghammer@google.com> | 2015-04-07 10:43:50 +0000 |
commit | 83544cf660d96e191f539ddb5e49aa6aa1feb93c (patch) | |
tree | 8d90ff11cd5aed08dde77f609adab676513c8487 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h | |
parent | 303c3ac92563b138341f5bfda65f96c55290da3f (diff) | |
download | bcm5719-llvm-83544cf660d96e191f539ddb5e49aa6aa1feb93c.tar.gz bcm5719-llvm-83544cf660d96e191f539ddb5e49aa6aa1feb93c.zip |
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
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h | 5 |
1 files changed, 5 insertions, 0 deletions
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<lldb::addr_t, lldb::AddressClass> 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); |