From 93e2861b8100c91f97c0d95364ab6a368d22d9a2 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Fri, 11 Oct 2013 22:03:48 +0000 Subject: Fixed Module::ResolveSymbolContextForAddress() to be able to also look in the SymbolVendor's SymbolFile's ObjectFile for a more meaningful symbol when a symbol lookup finds a synthetic symbol from the main object file. This will help lookups on MacOSX as the main executable might be stripped, but the dSYM file always has a full symbol table. llvm-svn: 192510 --- lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/ObjectFile') diff --git a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp index 87020cedb21..36652310470 100644 --- a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp +++ b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp @@ -949,7 +949,7 @@ ObjectFileMachO::IsStripped () } } if (m_dysymtab.cmd) - return m_dysymtab.nlocalsym == 0; + return m_dysymtab.nlocalsym <= 1; return false; } -- cgit v1.2.3