Home | History | Annotate | Download | only in DWARF

Lines Matching refs:cu

78                 DWARFCompileUnit* cu = GetCompileUnitAtIndex(idx);
79 if (cu)
80 cu->BuildAddressRangeTable (m_dwarf2Data, m_cu_aranges_ap.get(), clear_dies_if_already_not_parsed);
178 DWARFCompileUnit* cu = NULL;
180 cu = m_compile_units[idx].get();
181 return cu;
185 DWARFDebugInfo::ContainsCompileUnit (const DWARFCompileUnit *cu) const
194 if (pos->get() == cu)
346 DWARFCompileUnit* cu = cu_sp.get();
349 cu->AddDIE(*die);
351 else if (cu)
356 // Just return the current offset to parse the next CU or DIE entry
364 DWARFDebugInfo::AddCompileUnit(DWARFCompileUnitSP& cu)
366 m_compile_units.push_back(cu);
397 DWARFCompileUnitSP cu(new DWARFCompileUnit(dwarf2Data));
398 if (cu.get() == NULL)
402 while (cu->Extract(dwarf2Data->get_debug_info_data(), &offset))
404 const dw_offset_t next_cu_offset = cu->GetNextCompileUnitOffset();
409 offset = callback(dwarf2Data, cu, NULL, offset, depth, userData);
417 while (!done && die.Extract(dwarf2Data, cu.get(), &offset))
420 offset = callback(dwarf2Data, cu, &die, offset, depth, userData);
443 if (!cu.unique())
444 cu.reset(new DWARFCompileUnit(dwarf2Data));
496 const DWARFCompileUnit* cu = cu_sp.get();
508 die->Dump(dwarf2Data, cu, *s, 0);
524 dumpInfo->ancestors[i].Dump(dwarf2Data, cu, *s, 0);
532 die->Dump(dwarf2Data, cu
551 die->Dump(dwarf2Data, cu, *s, 0);
567 return cu->GetNextCompileUnitOffset();
583 if (cu == NULL)
584 s->PutCString("NULL - cu");
592 cu->Dump(s);
593 return cu->GetFirstDIEOffset(); // Return true to parse all DIEs in this Compile Unit
605 if (dumpInfo->die_offset < cu->GetFirstDIEOffset())
614 if (dumpInfo->die_offset < cu->GetNextCompileUnitOffset())
618 cu->Dump(s); // Dump the compile unit for the DIE in verbose mode
627 return cu->GetNextCompileUnitOffset();
633 // Just return the current offset to parse the next CU or DIE entry
738 const DWARFCompileUnit* cu = cu_sp.get();
742 const char* die_name = die->GetName(dwarf2Data, cu);
758 // Just return the current offset to parse the next CU or DIE entry