From 9f0013d86776236b4c18e6cf20f7ac2e78f5f11c Mon Sep 17 00:00:00 2001 From: Michael Sartain Date: Fri, 17 May 2013 00:20:21 +0000 Subject: Implement ObjectFileELF::GetModuleSpecifications(), and add PlatformLinux code to deal with unknown arch properties. CR: Greg Clayton llvm-svn: 182065 --- lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h | 6 ++++++ 1 file changed, 6 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 cdf2731b254..6efd98123ad 100644 --- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h +++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h @@ -65,6 +65,12 @@ public: lldb::offset_t file_offset, lldb::offset_t length, lldb_private::ModuleSpecList &specs); + + static bool + MagicBytesMatch (lldb::DataBufferSP& data_sp, + lldb::addr_t offset, + lldb::addr_t length); + //------------------------------------------------------------------ // PluginInterface protocol //------------------------------------------------------------------ -- cgit v1.2.3