From fbe0b9abf99719834add56bfd7b84c913e17dad3 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Wed, 21 May 2014 03:58:03 +0000 Subject: ReExported symbols can point to a library that doesn't actually contain the symbol, but just reexports wholesale from another library. Handle this case. llvm-svn: 209270 --- lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h') diff --git a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h index c565ac63e4e..dff0b21be80 100644 --- a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h +++ b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h @@ -13,6 +13,7 @@ #include "lldb/Utility/SafeMachO.h" #include "lldb/Core/Address.h" +#include "lldb/Core/FileSpecList.h" #include "lldb/Core/RangeMap.h" #include "lldb/Host/FileSpec.h" #include "lldb/Host/Mutex.h" @@ -127,6 +128,11 @@ public: virtual uint32_t GetDependentModules (lldb_private::FileSpecList& files); + virtual lldb_private::FileSpecList + GetReExportedLibraries () + { + return m_reexported_dylibs; + } //------------------------------------------------------------------ // PluginInterface protocol //------------------------------------------------------------------ @@ -208,6 +214,7 @@ protected: lldb_private::Address m_entry_point_address; FileRangeArray m_thread_context_offsets; bool m_thread_context_offsets_valid; + lldb_private::FileSpecList m_reexported_dylibs; size_t ParseSymtab (); -- cgit v1.2.3