summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-06-08 21:53:11 +0000
committerGreg Clayton <gclayton@apple.com>2015-06-08 21:53:11 +0000
commit0734737b65be1ddd4a52dc8ffaf000df582534e5 (patch)
tree426b3c2e41a746f65287cdfd054771b2734838b4 /lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
parent10511a493e01d2ae46830e3b0f872cf733f940d8 (diff)
downloadbcm5719-llvm-0734737b65be1ddd4a52dc8ffaf000df582534e5.tar.gz
bcm5719-llvm-0734737b65be1ddd4a52dc8ffaf000df582534e5.zip
If we have a MachO file loaded from memory, make sure we can always get the symbol table even if we don't have the __LINKEDIT load address set in the target.
<rdar://problem/21208168> llvm-svn: 239354
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h')
-rw-r--r--lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
index c0d57a3f2f7..eb8c7073dac 100644
--- a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
+++ b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
@@ -212,6 +212,14 @@ protected:
lldb_private::UUID
GetLLDBSharedCacheUUID ();
+ lldb_private::Section *
+ GetMachHeaderSection();
+
+ lldb::addr_t
+ CalculateSectionLoadAddressForMemoryImage(lldb::addr_t mach_header_load_address,
+ const lldb_private::Section *mach_header_section,
+ const lldb_private::Section *section);
+
llvm::MachO::mach_header m_header;
static const lldb_private::ConstString &GetSegmentNameTEXT();
static const lldb_private::ConstString &GetSegmentNameDATA();
OpenPOWER on IntegriCloud