diff options
author | Jim Ingham <jingham@apple.com> | 2011-03-08 01:54:01 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2011-03-08 01:54:01 +0000 |
commit | bd3f26069840d2743e150004ab98cc3f0c969f08 (patch) | |
tree | 156c05c646fc0066f2e1de87e9b8ed872faa3534 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | |
parent | 52b3e38a1f1b60729ae6370c6492720c96709632 (diff) | |
download | bcm5719-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/ELF/ObjectFileELF.cpp')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | 9 |
1 files changed, 0 insertions, 9 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 { |