[Lldb-commits] [lldb] r176914 - Add a missing call to GetFileRangeMap. It's absence was causing debug info from .o files to sometimes

Jim Ingham jingham at apple.com
Tue Mar 12 17:07:18 PDT 2013


Author: jingham
Date: Tue Mar 12 19:07:18 2013
New Revision: 176914

URL: http://llvm.org/viewvc/llvm-project?rev=176914&view=rev
Log:
Add a missing call to GetFileRangeMap.  It's absence was causing debug info from .o files to sometimes
not get processed.

<rdar://problem/13406310>

Modified:
    lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp

Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp?rev=176914&r1=176913&r2=176914&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp Tue Mar 12 19:07:18 2013
@@ -765,6 +765,7 @@ SymbolFileDWARFDebugMap::ResolveSymbolCo
                 CompileUnitInfo* comp_unit_info = GetCompileUnitInfoForSymbolWithID (sc.symbol->GetID(), &oso_idx);
                 if (comp_unit_info)
                 {
+                    comp_unit_info->GetFileRangeMap(this);
                     Module *oso_module = GetModuleByCompUnitInfo (comp_unit_info);
                     if (oso_module)
                     {





More information about the lldb-commits mailing list