[Lldb-commits] [lldb] r159947 - /lldb/branches/apple/igneous/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
Sean Callanan
scallanan at apple.com
Mon Jul 9 11:28:54 PDT 2012
Author: spyffe
Date: Mon Jul 9 13:28:54 2012
New Revision: 159947
URL: http://llvm.org/viewvc/llvm-project?rev=159947&view=rev
Log:
<rdar://problem/11831333>
Modified:
lldb/branches/apple/igneous/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
Modified: lldb/branches/apple/igneous/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/apple/igneous/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp?rev=159947&r1=159946&r2=159947&view=diff
==============================================================================
--- lldb/branches/apple/igneous/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp (original)
+++ lldb/branches/apple/igneous/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp Mon Jul 9 13:28:54 2012
@@ -280,6 +280,9 @@
// it will have the remapped sections that we do below.
SymbolFileDWARF *oso_symfile = (SymbolFileDWARF *)comp_unit_info->oso_symbol_vendor->GetSymbolFile();
+ if (!oso_symfile)
+ return NULL;
+
if (oso_symfile->GetNumCompileUnits() != 1)
{
oso_symfile->GetObjectFile()->GetModule()->ReportError ("DWARF for object file '%s' contains multiple translation units!",
More information about the lldb-commits
mailing list