summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-03-08 01:54:01 +0000
committerJim Ingham <jingham@apple.com>2011-03-08 01:54:01 +0000
commitbd3f26069840d2743e150004ab98cc3f0c969f08 (patch)
tree156c05c646fc0066f2e1de87e9b8ed872faa3534 /lldb/source/Plugins/ObjectFile
parent52b3e38a1f1b60729ae6370c6492720c96709632 (diff)
downloadbcm5719-llvm-bd3f26069840d2743e150004ab98cc3f0c969f08.tar.gz
bcm5719-llvm-bd3f26069840d2743e150004ab98cc3f0c969f08.zip
I didn't notice there was already an ObjectFile::GetEntryPoint. Move that over to GetEntryPointAddress 'cause that's more consistent with other functions in ObjectFile, do the mutatis mutandi and also in the ELF case I return a section offset address rather than a bare load address.
llvm-svn: 127205
Diffstat (limited to 'lldb/source/Plugins/ObjectFile')
-rw-r--r--lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp9
-rw-r--r--lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h3
2 files changed, 0 insertions, 12 deletions
diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
index 546dc7840d2..03541b4faf4 100644
--- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
+++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
@@ -158,15 +158,6 @@ ObjectFileELF::IsExecutable() const
return m_header.e_entry != 0;
}
-Address
-ObjectFileELF::GetEntryPoint() const
-{
- if (m_header.e_entry)
- return Address(NULL, m_header.e_entry);
- else
- return Address();
-}
-
ByteOrder
ObjectFileELF::GetByteOrder() const
{
diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
index 2b78da5436b..ebfde8965a5 100644
--- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
+++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
@@ -89,9 +89,6 @@ public:
virtual bool
IsExecutable () const;
- virtual lldb_private::Address
- GetEntryPoint() const;
-
virtual size_t
GetAddressByteSize() const;
OpenPOWER on IntegriCloud