Commit 04df32da authored by Bill Wendling's avatar Bill Wendling
Browse files

Merging r182441:

------------------------------------------------------------------------
r182441 | gclayton | 2013-05-21 17:10:28 -0700 (Tue, 21 May 2013) | 5 lines

<rdar://problem/13455021>

Another fix to make sure that if we aren't able to extract an object file for any reason, we don't crash when trying to parse the debug map info.


------------------------------------------------------------------------

llvm-svn: 182522
parent 443d96c7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -54,6 +54,8 @@ SymbolFileDWARFDebugMap::CompileUnitInfo::GetFileRangeMap(SymbolFileDWARFDebugMa
        return file_range_map;
    
    ObjectFile *oso_objfile = oso_module->GetObjectFile();
    if (!oso_objfile)
        return file_range_map;
    
    Log *log (LogChannelDWARF::GetLogIfAll(DWARF_LOG_DEBUG_MAP));
    if (log)