reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
   72   if ((!DD->useSplitDwarf() || !Skeleton) && DD->getDwarfVersion() < 5)
   72   if ((!DD->useSplitDwarf() || !Skeleton) && DD->getDwarfVersion() < 5)
   76     DD->addArangeLabel(SymbolCU(this, Label));
   78   unsigned idx = DD->getAddressPool().getIndex(Label);
   80                DD->getDwarfVersion() >= 5 ? dwarf::DW_FORM_addrx
   89     DD->addArangeLabel(SymbolCU(this, Label));
  222       if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) {
  244           if (!DD->useSplitDwarf()) {
  256                     DD->getAddressPool().getIndex(Sym, /* TLS */ true));
  260                   DD->useGNUTLSOpcode() ? dwarf::DW_OP_GNU_push_tls_address
  264         DD->addArangeLabel(SymbolCU(this, Sym));
  276   if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) {
  288   if (DD->useAllLinkageNames())
  292     DD->addAccelName(*CUNode, GV->getName(), *VariableDIE);
  297         DD->useAllLinkageNames())
  298       DD->addAccelName(*CUNode, GV->getLinkageName(), *VariableDIE);
  322   bool SameAsPrevCU = this == DD->getPrevCU();
  323   DD->setPrevCU(this);
  345   if (DD->useSectionsAsReferences()) {
  374   if (DD->getDwarfVersion() < 4)
  387   if (DD->useAppleExtensionAttributes() &&
  388       !DD->getCurrentFunction()->getTarget().Options.DisableFramePointerElim(
  389           *DD->getCurrentFunction()))
  408   DD->addSubprogramNames(*CUNode, SP, *SPDie);
  440     if (DD->isLexicalScopeDIENull(Scope))
  475       (DD->getDwarfVersion() < 5 && Skeleton ? Skeleton->DU : DU)
  486   if (DD->getDwarfVersion() >= 5)
  503   if (Ranges.size() == 1 || !DD->useRangesSection()) {
  517         {DD->getLabelBeforeInsn(R.first), DD->getLabelAfterInsn(R.second)});
  517         {DD->getLabelBeforeInsn(R.first), DD->getLabelAfterInsn(R.second)});
  544   if (IA->getDiscriminator() && DD->getDwarfVersion() >= 4)
  550   DD->addSubprogramNames(*CUNode, InlinedSP, *ScopeDIE);
  558   if (DD->isLexicalScopeDIENull(Scope))
  654     if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) {
  673   if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) {
  876     ContextCU = DD->lookupCU(ContextDIE->getUnitDie());
  896   if (!useGNUAnalogForDwarf5Feature(DD))
  910   if (!useGNUAnalogForDwarf5Feature(DD))
  932   if (!useGNUAnalogForDwarf5Feature(DD))
  966   if (DD->getDwarfVersion() == 4 && DD->tuneForGDB()) {
  966   if (DD->getDwarfVersion() == 4 && DD->tuneForGDB()) {
  969   } else if (!IsTail || DD->tuneForGDB()) {
 1092   if (!Skeleton && !DD->useSectionsAsReferences()) {
 1098                                 : DD->useSplitDwarf() ? dwarf::DW_UT_skeleton
 1101   if (DD->getDwarfVersion() >= 5 && UT != dwarf::DW_UT_compile)
 1114     return DD->tuneForGDB() && !includeMinimalInlineScopes() &&
 1116            DD->getAccelTableKind() != AccelTableKind::Apple &&
 1117            DD->getDwarfVersion() < 5;
 1223   dwarf::Form Form = DD->getDwarfVersion() >= 4 ? dwarf::DW_FORM_sec_offset
 1275   return DD->useSplitDwarf() && Skeleton;
 1284          (DD->useSplitDwarf() && !Skeleton);
 1289   MCSymbol *Label = DD->getAddressPool().getLabel();
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
   92     if (isDwoUnit() && !DD->shareAcrossDWOCUs())
   98     if (isDwoUnit() && !DD->shareAcrossDWOCUs())
  277         DD->getDwarfVersion() >= 5 && DD->useSplitDwarf() ? sizeof(uint64_t)
  277         DD->getDwarfVersion() >= 5 && DD->useSplitDwarf() ? sizeof(uint64_t)
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  130     if (DD->getDwarfVersion() >= 3)
  135     if (DD->getDwarfVersion() >= 3)
  144     if (DD->getDwarfVersion() >= 4)
  155     if (DD->getDwarfVersion() >= 4)
  173     if (DD->getDwarfVersion() >= 5)
  181     if (DD->getDwarfVersion() >= 5)
  198   if (isDwoUnit() && !DD->shareAcrossDWOCUs())
  202          !DD->generateTypeUnits();
  224   if (DD->getDwarfVersion() >= 4)
  263   if (DD->useInlineStrings()) {
  305   if (DD->getDwarfVersion() >= 4)
  313   if (DD->getDwarfVersion() < 5)
  343   if (DD->getDwarfVersion() >= 5) {
  345     addUInt(Die, dwarf::DW_FORM_addrx, DD->getAddressPool().getIndex(Sym));
  349   if (DD->useSplitDwarf()) {
  352             DD->getAddressPool().getIndex(Sym));
  406                Loc->BestForm(DD->getDwarfVersion()), Loc);
  546   addConstantValue(Die, isUnsignedDIType(DD, Ty), MO.getImm());
  550   addConstantValue(Die, isUnsignedDIType(DD, Ty), Val);
  561   addConstantValue(Die, Val, isUnsignedDIType(DD, Ty));
  596               DD->getDwarfVersion() >= 4 ? dwarf::DW_AT_linkage_name
  661     if (DD->generateTypeUnits() && !Ty->isForwardDecl() &&
  665         DD->addDwarfTypeUnitType(getCU(), TypeId->getString(), TyDIE, CTy);
  667         auto X = DD->enterNonTypeUnitContext();
  687   if (Ty->getTag() == dwarf::DW_TAG_restrict_type && DD->getDwarfVersion() <= 2)
  691   if (Ty->getTag() == dwarf::DW_TAG_atomic_type && DD->getDwarfVersion() < 5)
  717     DD->addAccelType(*CUNode, Ty->getName(), TyDIE, Flags);
  924             if (isUnsignedDIType(DD, Discriminator->getBaseType()))
 1092   DD->addAccelNamespace(*CUNode, Name, NDie);
 1165     if (DD->useAllLinkageNames())
 1186       (DD->useAllLinkageNames() || DU->getAbstractSPDies().lookup(SP)))
 1272   if (DD->useAppleExtensionAttributes()) {
 1347   DD->addAccelType(*CUNode, Name, *IndexTyDie, /*Flags*/ 0);
 1406   bool IsUnsigned = DTy && isUnsignedDIType(DD, DTy);
 1408     if (DD->getDwarfVersion() >= 3)
 1410     if (DD->getDwarfVersion() >= 4 && (CTy->getFlags() & DINode::FlagEnumClass))
 1477     uint64_t FieldSize = DD->getBaseTypeSize(DT);
 1484       if (DD->useDWARF2Bitfields())
 1499       if (DD->useDWARF2Bitfields()) {
 1521     if (DD->getDwarfVersion() <= 2) {
 1526     } else if (!IsBitfield || DD->useDWARF2Bitfields())
 1607   if (!DD->useSectionsAsReferences()) {
 1617   unsigned Version = DD->getDwarfVersion();
 1647                               DD->useSplitDwarf() ? dwarf::DW_UT_split_type
 1661                       DD->getDwarfVersion() >= 4 ? dwarf::DW_FORM_sec_offset
 1671                     DD->getDwarfVersion() >= 4 ? dwarf::DW_FORM_sec_offset
 1680   return DD->useSplitDwarf();
 1709   assert(DD->getDwarfVersion() >= 5 &&
lib/CodeGen/AsmPrinter/DwarfUnit.h
   91   uint16_t getDwarfVersion() const { return DD->getDwarfVersion(); }
  253     return DD->useSegmentedStringOffsetsTable();
  262            (DD->getDwarfVersion() >= 5 ? sizeof(int8_t)