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
This commit is contained in:
Greg Clayton
2011-07-09 00:41:34 +00:00
parent c5c191b0a4
commit 9e00b6a654
5 changed files with 243 additions and 0 deletions

View File

@@ -104,6 +104,12 @@ public:
virtual lldb_private::Address
GetEntryPointAddress ();
virtual ObjectFile::Type
CalculateType();
virtual ObjectFile::Strata
CalculateStrata();
private:
ObjectFileELF(lldb_private::Module* module,