summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
diff options
context:
space:
mode:
authorMichael Sartain <mikesart@valvesoftware.com>2013-05-17 00:20:21 +0000
committerMichael Sartain <mikesart@valvesoftware.com>2013-05-17 00:20:21 +0000
commit9f0013d86776236b4c18e6cf20f7ac2e78f5f11c (patch)
tree7d5cf121d1f102443739a3d56de3409ca9b7cf68 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
parentb9931496f511d7a026507f90610f0c8fff5091fd (diff)
downloadbcm5719-llvm-9f0013d86776236b4c18e6cf20f7ac2e78f5f11c.tar.gz
bcm5719-llvm-9f0013d86776236b4c18e6cf20f7ac2e78f5f11c.zip
Implement ObjectFileELF::GetModuleSpecifications(), and add PlatformLinux code to deal with unknown arch properties.
CR: Greg Clayton llvm-svn: 182065
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h')
-rw-r--r--lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h6
1 files changed, 6 insertions, 0 deletions
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
//------------------------------------------------------------------
OpenPOWER on IntegriCloud