reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
60 MacroLabelBegin = Asm->createTempSymbol("cu_macro_begin"); 105 unsigned CUID = Asm->OutStreamer->hasRawTextSupport() ? 0 : getUniqueID(); 107 return Asm->OutStreamer->EmitDwarfFileDirective(0, "", "", None, None, CUID); 108 return Asm->OutStreamer->EmitDwarfFileDirective( 205 !Asm->getObjFileLowering().supportDebugThreadLocalLocation()) 211 DwarfExpr = std::make_unique<DIEDwarfExpression>(*Asm, *this, *Loc); 222 if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) { 234 const MCSymbol *Sym = Asm->getSymbol(Global); 236 if (Asm->TM.useEmulatedTLS()) { 240 unsigned PointerSize = Asm->getDataLayout().getPointerSize(); 252 Asm->getObjFileLowering().getDebugThreadLocalSymbol(Sym)); 276 if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) { 344 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); 349 Asm->OutStreamer->getDwarfLineTableSymbol(getUniqueID()); 386 attachLowHighPC(*SPDie, Asm->getFunctionBegin(), Asm->getFunctionEnd()); 386 attachLowHighPC(*SPDie, Asm->getFunctionBegin(), Asm->getFunctionEnd()); 394 if (Asm->MF->getTarget().getTargetTriple().isNVPTX()) { 399 const TargetRegisterInfo *RI = Asm->MF->getSubtarget().getRegisterInfo(); 400 MachineLocation Location(RI->getFrameRegister(*Asm->MF)); 489 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); 616 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); 638 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); 642 const TargetFrameLowering *TFI = Asm->MF->getSubtarget().getFrameLowering(); 643 int Offset = TFI->getFrameIndexReference(*Asm->MF, Fragment.FI, FrameReg); 654 if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) { 666 if (const MCSymbol *FrameSymbol = Asm->getFunctionFrameSymbol()) 670 *Asm->MF->getSubtarget().getRegisterInfo(), Cursor, FrameReg); 673 if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) { 989 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); 992 DwarfDebug::emitDebugLocValue(*Asm, nullptr, Param.getValue(), DwarfExpr); 1093 LabelBegin = Asm->createTempSymbol("cu_begin"); 1094 Asm->OutStreamer->EmitLabel(LabelBegin); 1102 Asm->emitInt64(getDWOId()); 1176 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); 1181 const TargetRegisterInfo &TRI = *Asm->MF->getSubtarget().getRegisterInfo(); 1198 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); 1211 const TargetRegisterInfo &TRI = *Asm->MF->getSubtarget().getRegisterInfo(); 1288 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering();lib/CodeGen/AsmPrinter/DwarfUnit.cpp
274 ? DU->getStringPool().getIndexedEntry(*Asm, String) 275 : DU->getStringPool().getEntry(*Asm, String); 338 Asm->OutContext.getDwarfVersion(), 403 Loc->ComputeSize(Asm); 411 Block->ComputeSize(Asm); 520 bool LittleEndian = Asm->getDataLayout().isLittleEndian(); 578 bool LittleEndian = Asm->getDataLayout().isLittleEndian(); 1062 addOpAddress(*Loc, Asm->getSymbol(GV)); 1276 if (unsigned isa = Asm->getISAEncoding()) 1505 if (Asm->getDataLayout().isLittleEndian()) 1606 Asm->OutStreamer->AddComment("Length of Unit"); 1609 MCSymbol *BeginLabel = Asm->createTempSymbol(Prefix + "start"); 1610 EndLabel = Asm->createTempSymbol(Prefix + "end"); 1611 Asm->EmitLabelDifference(EndLabel, BeginLabel, 4); 1612 Asm->OutStreamer->EmitLabel(BeginLabel); 1614 Asm->emitInt32(getHeaderSize() + getUnitDie().getSize()); 1616 Asm->OutStreamer->AddComment("DWARF version number"); 1618 Asm->emitInt16(Version); 1622 Asm->OutStreamer->AddComment("DWARF Unit Type"); 1623 Asm->emitInt8(UT); 1624 Asm->OutStreamer->AddComment("Address Size (in bytes)"); 1625 Asm->emitInt8(Asm->MAI->getCodePointerSize()); 1625 Asm->emitInt8(Asm->MAI->getCodePointerSize()); 1631 Asm->OutStreamer->AddComment("Offset Into Abbrev. Section"); 1632 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); 1634 Asm->emitInt32(0); 1636 Asm->emitDwarfSymbolReference( 1640 Asm->OutStreamer->AddComment("Address Size (in bytes)"); 1641 Asm->emitInt8(Asm->MAI->getCodePointerSize()); 1641 Asm->emitInt8(Asm->MAI->getCodePointerSize()); 1649 Asm->OutStreamer->AddComment("Type Signature"); 1650 Asm->OutStreamer->EmitIntValue(TypeSignature, sizeof(TypeSignature)); 1651 Asm->OutStreamer->AddComment("Type DIE Offset"); 1653 Asm->OutStreamer->EmitIntValue(Ty ? Ty->getOffset() : 0, 1669 if (Asm->MAI->doesDwarfUseRelocationsAcrossSections()) 1694 if (!Asm->MAI->doesDwarfUseRelocationsAcrossSections()) 1702 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); 1711 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering();lib/CodeGen/AsmPrinter/DwarfUnit.h
86 AsmPrinter* getAsmPrinter() const { return Asm; }