Lines Matching refs:CU
23 const DWARFCompileUnit *cu,
26 DataExtractor debug_info_data = cu->getDebugInfoExtractor();
48 dumpAttribute(OS, cu, &offset, attr, form, indent);
54 child->dump(OS, cu, recurseDepth-1, indent+2);
69 const DWARFCompileUnit *cu,
89 if (!formValue.extractValue(cu->getDebugInfoExtractor(), offset_ptr, cu))
93 formValue.dump(OS, cu);
97 bool DWARFDebugInfoEntryMinimal::extractFast(const DWARFCompileUnit *cu,
102 DataExtractor debug_info_data = cu->getDebugInfoExtractor();
110 AbbrevDecl = cu->getAbbreviations()->getAbbreviationDeclaration(abbrCode);
157 form_size = cu->getAddressByteSize();
228 DWARFDebugInfoEntryMinimal::extract(const DWARFCompileUnit *cu,
230 DataExtractor debug_info_data = cu->getDebugInfoExtractor();
231 const uint32_t cu_end_offset = cu->getNextCompileUnitOffset();
232 const uint8_t cu_addr_size = cu->getAddressByteSize();
240 AbbrevDecl = cu->getAbbreviations()->getAbbreviationDeclaration(abbrCode);
246 if(cu && isCompileUnitTag)
247 const_cast<DWARFCompileUnit*>(cu)->setBaseAddress(0);
258 if (form_value.extractValue(debug_info_data, &offset, cu)) {
260 const_cast<DWARFCompileUnit*>(cu)
383 DWARFDebugInfoEntryMinimal::getAttributeValue(const DWARFCompileUnit *cu,
394 DataExtractor debug_info_data = cu->getDebugInfoExtractor();
402 debug_info_data, &offset, cu);
406 if (form_value.extractValue(debug_info_data, &offset, cu)) {
419 const DWARFCompileUnit* cu,
424 if (getAttributeValue(cu, attr, form_value)) {
425 DataExtractor stringExtractor(cu->getStringSection(), false, 0);
433 const DWARFCompileUnit* cu,
437 if (getAttributeValue(cu, attr, form_value))
444 const DWARFCompileUnit* cu,
448 if (getAttributeValue(cu, attr, form_value))
455 const DWARFCompileUnit* cu,
460 if (getAttributeValue(cu, attr, form_value))
461 return form_value.getReference(cu);
465 bool DWARFDebugInfoEntryMinimal::getLowAndHighPC(const DWARFCompileUnit *CU,
469 LowPC = getAttributeValueAsUnsigned(CU, DW_AT_low_pc, -1ULL);
471 HighPC = getAttributeValueAsUnsigned(CU, DW_AT_high_pc, -1ULL);
476 DWARFDebugInfoEntryMinimal::buildAddressRangeTable(const DWARFCompileUnit *CU,
482 if (getLowAndHighPC(CU, LowPC, HighPC)) {
483 DebugAranges->appendRange(CU->getOffset(), LowPC, HighPC);
490 child->buildAddressRangeTable(CU, DebugAranges);
498 const DWARFCompileUnit *CU,
504 if (getLowAndHighPC(CU, LowPC, HighPC))
507 uint32_t RangesOffset = getAttributeValueAsReference(CU, DW_AT_ranges, -1U);
510 if (CU->extractRangeList(RangesOffset, RangeList))
511 return RangeList.containsAddress(CU->getBaseAddress(), Address);
517 DWARFDebugInfoEntryMinimal::getSubroutineName(const DWARFCompileUnit *CU)
523 getAttributeValueAsString(CU, DW_AT_MIPS_linkage_name, 0))
525 if (const char *name = getAttributeValueAsString(CU, DW_AT_linkage_name, 0))
527 if (const char *name = getAttributeValueAsString(CU, DW_AT_name, 0))
531 getAttributeValueAsReference(CU, DW_AT_specification, -1U);
534 if (spec_die.extract(CU, &spec_ref)) {
535 if (const char *name = spec_die.getSubroutineName(CU))
541 getAttributeValueAsReference(CU, DW_AT_abstract_origin, -1U);
544 if (abs_origin_die.extract(CU, &abs_origin_ref)) {
545 if (const char *name = abs_origin_die.getSubroutineName(CU))
552 void DWARFDebugInfoEntryMinimal::getCallerFrame(const DWARFCompileUnit *CU,
556 CallFile = getAttributeValueAsUnsigned(CU, DW_AT_call_file, 0);
557 CallLine = getAttributeValueAsUnsigned(CU, DW_AT_call_line, 0);
558 CallColumn = getAttributeValueAsUnsigned(CU, DW_AT_call_column, 0);
563 const DWARFCompileUnit *CU,
578 if (Child->addressRangeContainsAddress(CU, Address)) {