summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-07-09 00:41:34 +0000
committerGreg Clayton <gclayton@apple.com>2011-07-09 00:41:34 +0000
commit9e00b6a6545e4d459cff2663ec679af1e147de68 (patch)
treea4cab09f307928503fabd2480122d94e5be8c973 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
parentc5c191b0a4dfc4dae622c2c2b0789652267050f5 (diff)
downloadbcm5719-llvm-9e00b6a6545e4d459cff2663ec679af1e147de68.tar.gz
bcm5719-llvm-9e00b6a6545e4d459cff2663ec679af1e147de68.zip
Added the ability to get an abstract file type (executable, object file,
shared library, etc) and strata (user/kernel) from an object file. This will help with plug-in and platform selection when given a new binary with the "target create <file>" command. llvm-svn: 134779
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 f442ea218ab..78d2b5d6be1 100644
--- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
+++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
@@ -104,6 +104,12 @@ public:
virtual lldb_private::Address
GetEntryPointAddress ();
+
+ virtual ObjectFile::Type
+ CalculateType();
+
+ virtual ObjectFile::Strata
+ CalculateStrata();
private:
ObjectFileELF(lldb_private::Module* module,
OpenPOWER on IntegriCloud