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
diff --git a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
index c0d57a3..eb8c707 100644
--- a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
+++ b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
@@ -212,6 +212,14 @@
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();