diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-04-23 16:00:15 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-04-23 16:00:15 +0000 |
commit | d2d1504805f9bf2a9925dd4f09bfe5329f819030 (patch) | |
tree | bd1c584fc825171c4b0fffcf2760975f005e7900 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h | |
parent | 66b0a87ae8d6e148e089e7cd6d45d50887e0ea63 (diff) | |
download | bcm5719-llvm-d2d1504805f9bf2a9925dd4f09bfe5329f819030.tar.gz bcm5719-llvm-d2d1504805f9bf2a9925dd4f09bfe5329f819030.zip |
ObjectFile: parse EABI Attributes
This adds basic parsing of the EABI attributes section. This section contains
additional information about the target for which the file was built. Attempt
to infer additional architecture information from that section.
llvm-svn: 267291
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h index 0a1f78e3166..e2f73f53ec6 100644 --- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h +++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h @@ -298,6 +298,10 @@ private: size_t ParseSectionHeaders(); + static void + ParseARMAttributes(lldb_private::DataExtractor &data, uint64_t length, + lldb_private::ArchSpec &arch_spec); + /// Parses the elf section headers and returns the uuid, debug link name, crc, archspec. static size_t GetSectionHeaderInfo(SectionHeaderColl §ion_headers, |