• Home
  • Raw
  • Download

Lines Matching refs:Asm

204     : Asm(A), MMI(Asm->MMI), DebugLocs(A->OutStreamer->isVerboseAsm()),  in DwarfDebug()
218 Triple TT(Asm->getTargetTriple()); in DwarfDebug()
222 if (Asm->TM.Options.DebuggerTuning != DebuggerKind::Default) in DwarfDebug()
223 DebuggerTuning = Asm->TM.Options.DebuggerTuning; in DwarfDebug()
255 unsigned DwarfVersionNumber = Asm->TM.Options.MCOptions.DwarfVersion; in DwarfDebug()
268 Asm->OutStreamer->getContext().setDwarfVersion(DwarfVersion); in DwarfDebug()
391 InfoHolder.getUnits().size(), DIUnit, Asm, this, &InfoHolder); in constructDwarfCompileUnit()
402 if (!Asm->OutStreamer->hasRawTextSupport() || SingleCU) in constructDwarfCompileUnit()
403 Asm->OutStreamer->getContext().setMCLineTableCompilationDir( in constructDwarfCompileUnit()
434 NewCU.initSection(Asm->getObjFileLowering().getDwarfInfoDWOSection()); in constructDwarfCompileUnit()
436 NewCU.initSection(Asm->getObjFileLowering().getDwarfInfoSection()); in constructDwarfCompileUnit()
555 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); in finalizeModuleInfo()
578 uint64_t ID = DIEHash(Asm).computeCUSignature(TheCU.getUnitDie()); in finalizeModuleInfo()
665 AddrPool.emit(*Asm, Asm->getObjFileLowering().getDwarfAddrSection()); in endModule()
849 EndLabel = Asm->getFunctionEnd(); in buildLocationList()
944 DebugLocStream::ListBuilder List(DebugLocs, TheCU, *Asm, *RegVar, *MInsn); in collectVariableInfo()
958 Entry.finalize(*Asm, List, BT); in collectVariableInfo()
998 Asm->OutStreamer->getContext().getCurrentDwarfLoc().getLine()) in beginInstruction()
1024 Asm->OutStreamer->EmitLabel(PrevLabel); in beginInstruction()
1052 Asm->OutStreamer->EmitLabel(PrevLabel); in endInstruction()
1132 if (Asm->OutStreamer->hasRawTextSupport()) in beginFunction()
1134 Asm->OutStreamer->getContext().setDwarfCompileUnitID(0); in beginFunction()
1136 Asm->OutStreamer->getContext().setDwarfCompileUnitID(TheCU->getUniqueID()); in beginFunction()
1139 calculateDbgValueHistory(MF, Asm->MF->getSubtarget().getRegisterInfo(), in beginFunction()
1153 LabelsBeforeInsn[Ranges.front().first] = Asm->getFunctionBegin(); in beginFunction()
1162 LabelsBeforeInsn[I->first] = Asm->getFunctionBegin(); in beginFunction()
1177 PrevLabel = Asm->getFunctionBegin(); in beginFunction()
1205 Asm->OutStreamer->getContext().setDwarfCompileUnitID(0); in endFunction()
1215 TheCU.addRange(RangeSpan(Asm->getFunctionBegin(), Asm->getFunctionEnd())); in endFunction()
1282 unsigned CUID = Asm->OutStreamer->getContext().getDwarfCompileUnitID(); in recordSourceLine()
1286 Asm->OutStreamer->EmitDwarfLocDirective(Src, Line, Col, Flags, 0, in recordSourceLine()
1304 Holder.emitAbbrevs(Asm->getObjFileLowering().getDwarfAbbrevSection()); in emitAbbreviations()
1309 Accel.FinalizeTable(Asm, TableName); in emitAccel()
1310 Asm->OutStreamer->SwitchSection(Section); in emitAccel()
1313 Accel.emit(Asm, Section->getBeginSymbol(), this); in emitAccel()
1318 emitAccel(AccelNames, Asm->getObjFileLowering().getDwarfAccelNamesSection(), in emitAccelNames()
1325 emitAccel(AccelObjC, Asm->getObjFileLowering().getDwarfAccelObjCSection(), in emitAccelObjC()
1332 Asm->getObjFileLowering().getDwarfAccelNamespaceSection(), in emitAccelNamespaces()
1338 emitAccel(AccelTypes, Asm->getObjFileLowering().getDwarfAccelTypesSection(), in emitAccelTypes()
1401 ? Asm->getObjFileLowering().getDwarfGnuPubNamesSection() in emitDebugPubNames()
1402 : Asm->getObjFileLowering().getDwarfPubNamesSection(); in emitDebugPubNames()
1423 Asm->OutStreamer->SwitchSection(PSec); in emitDebugPubSection()
1426 Asm->OutStreamer->AddComment("Length of Public " + Name + " Info"); in emitDebugPubSection()
1427 MCSymbol *BeginLabel = Asm->createTempSymbol("pub" + Name + "_begin"); in emitDebugPubSection()
1428 MCSymbol *EndLabel = Asm->createTempSymbol("pub" + Name + "_end"); in emitDebugPubSection()
1429 Asm->EmitLabelDifference(EndLabel, BeginLabel, 4); in emitDebugPubSection()
1431 Asm->OutStreamer->EmitLabel(BeginLabel); in emitDebugPubSection()
1433 Asm->OutStreamer->AddComment("DWARF Version"); in emitDebugPubSection()
1434 Asm->EmitInt16(dwarf::DW_PUBNAMES_VERSION); in emitDebugPubSection()
1436 Asm->OutStreamer->AddComment("Offset of Compilation Unit Info"); in emitDebugPubSection()
1437 Asm->emitDwarfSymbolReference(TheU->getLabelBegin()); in emitDebugPubSection()
1439 Asm->OutStreamer->AddComment("Compilation Unit Length"); in emitDebugPubSection()
1440 Asm->EmitInt32(TheU->getLength()); in emitDebugPubSection()
1447 Asm->OutStreamer->AddComment("DIE offset"); in emitDebugPubSection()
1448 Asm->EmitInt32(Entity->getOffset()); in emitDebugPubSection()
1452 Asm->OutStreamer->AddComment( in emitDebugPubSection()
1455 Asm->EmitInt8(Desc.toBits()); in emitDebugPubSection()
1458 Asm->OutStreamer->AddComment("External Name"); in emitDebugPubSection()
1459 Asm->OutStreamer->EmitBytes(StringRef(Name, GI.getKeyLength() + 1)); in emitDebugPubSection()
1462 Asm->OutStreamer->AddComment("End Mark"); in emitDebugPubSection()
1463 Asm->EmitInt32(0); in emitDebugPubSection()
1464 Asm->OutStreamer->EmitLabel(EndLabel); in emitDebugPubSection()
1470 ? Asm->getObjFileLowering().getDwarfGnuPubTypesSection() in emitDebugPubTypes()
1471 : Asm->getObjFileLowering().getDwarfPubTypesSection(); in emitDebugPubTypes()
1480 Holder.emitStrings(Asm->getObjFileLowering().getDwarfStrSection()); in emitDebugStr()
1568 Asm->OutStreamer->AddComment("Loc expr size"); in emitDebugLocEntryLocation()
1569 Asm->EmitInt16(DebugLocs.getBytes(Entry).size()); in emitDebugLocEntryLocation()
1572 APByteStreamer Streamer(*Asm); in emitDebugLocEntryLocation()
1579 Asm->OutStreamer->SwitchSection( in emitDebugLoc()
1580 Asm->getObjFileLowering().getDwarfLocSection()); in emitDebugLoc()
1581 unsigned char Size = Asm->getDataLayout().getPointerSize(); in emitDebugLoc()
1583 Asm->OutStreamer->EmitLabel(List.Label); in emitDebugLoc()
1590 Asm->EmitLabelDifference(Entry.BeginSym, Base, Size); in emitDebugLoc()
1591 Asm->EmitLabelDifference(Entry.EndSym, Base, Size); in emitDebugLoc()
1593 Asm->OutStreamer->EmitSymbolValue(Entry.BeginSym, Size); in emitDebugLoc()
1594 Asm->OutStreamer->EmitSymbolValue(Entry.EndSym, Size); in emitDebugLoc()
1599 Asm->OutStreamer->EmitIntValue(0, Size); in emitDebugLoc()
1600 Asm->OutStreamer->EmitIntValue(0, Size); in emitDebugLoc()
1605 Asm->OutStreamer->SwitchSection( in emitDebugLocDWO()
1606 Asm->getObjFileLowering().getDwarfLocDWOSection()); in emitDebugLocDWO()
1608 Asm->OutStreamer->EmitLabel(List.Label); in emitDebugLocDWO()
1614 Asm->EmitInt8(dwarf::DW_LLE_start_length_entry); in emitDebugLocDWO()
1616 Asm->EmitULEB128(idx); in emitDebugLocDWO()
1617 Asm->EmitLabelDifference(Entry.EndSym, Entry.BeginSym, 4); in emitDebugLocDWO()
1621 Asm->EmitInt8(dwarf::DW_LLE_end_of_list_entry); in emitDebugLocDWO()
1656 Sym = Asm->OutStreamer->endSection(Section); in emitDebugARanges()
1686 unsigned IA = A.Sym ? Asm->OutStreamer->GetSymbolOrder(A.Sym) : 0; in emitDebugARanges()
1687 unsigned IB = B.Sym ? Asm->OutStreamer->GetSymbolOrder(B.Sym) : 0; in emitDebugARanges()
1716 Asm->OutStreamer->SwitchSection( in emitDebugARanges()
1717 Asm->getObjFileLowering().getDwarfARangesSection()); in emitDebugARanges()
1719 unsigned PtrSize = Asm->getDataLayout().getPointerSize(); in emitDebugARanges()
1758 Asm->OutStreamer->AddComment("Length of ARange Set"); in emitDebugARanges()
1759 Asm->EmitInt32(ContentSize); in emitDebugARanges()
1760 Asm->OutStreamer->AddComment("DWARF Arange version number"); in emitDebugARanges()
1761 Asm->EmitInt16(dwarf::DW_ARANGES_VERSION); in emitDebugARanges()
1762 Asm->OutStreamer->AddComment("Offset Into Debug Info Section"); in emitDebugARanges()
1763 Asm->emitDwarfSymbolReference(CU->getLabelBegin()); in emitDebugARanges()
1764 Asm->OutStreamer->AddComment("Address Size (in bytes)"); in emitDebugARanges()
1765 Asm->EmitInt8(PtrSize); in emitDebugARanges()
1766 Asm->OutStreamer->AddComment("Segment Size (in bytes)"); in emitDebugARanges()
1767 Asm->EmitInt8(0); in emitDebugARanges()
1769 Asm->OutStreamer->EmitFill(Padding, 0xff); in emitDebugARanges()
1772 Asm->EmitLabelReference(Span.Start, PtrSize); in emitDebugARanges()
1776 Asm->EmitLabelDifference(Span.End, Span.Start, PtrSize); in emitDebugARanges()
1784 Asm->OutStreamer->EmitIntValue(Size, PtrSize); in emitDebugARanges()
1788 Asm->OutStreamer->AddComment("ARange terminator"); in emitDebugARanges()
1789 Asm->OutStreamer->EmitIntValue(0, PtrSize); in emitDebugARanges()
1790 Asm->OutStreamer->EmitIntValue(0, PtrSize); in emitDebugARanges()
1797 Asm->OutStreamer->SwitchSection( in emitDebugRanges()
1798 Asm->getObjFileLowering().getDwarfRangesSection()); in emitDebugRanges()
1801 unsigned char Size = Asm->getDataLayout().getPointerSize(); in emitDebugRanges()
1813 Asm->OutStreamer->EmitLabel(List.getSym()); in emitDebugRanges()
1821 Asm->EmitLabelDifference(Begin, Base, Size); in emitDebugRanges()
1822 Asm->EmitLabelDifference(End, Base, Size); in emitDebugRanges()
1824 Asm->OutStreamer->EmitSymbolValue(Begin, Size); in emitDebugRanges()
1825 Asm->OutStreamer->EmitSymbolValue(End, Size); in emitDebugRanges()
1830 Asm->OutStreamer->EmitIntValue(0, Size); in emitDebugRanges()
1831 Asm->OutStreamer->EmitIntValue(0, Size); in emitDebugRanges()
1857 CU.getUniqueID(), CU.getCUNode(), Asm, this, &SkeletonHolder); in constructSkeletonCU()
1859 NewCU.initSection(Asm->getObjFileLowering().getDwarfInfoSection()); in constructSkeletonCU()
1880 InfoHolder.emitAbbrevs(Asm->getObjFileLowering().getDwarfAbbrevDWOSection()); in emitDebugAbbrevDWO()
1885 Asm->OutStreamer->SwitchSection( in emitDebugLineDWO()
1886 Asm->getObjFileLowering().getDwarfLineDWOSection()); in emitDebugLineDWO()
1887 SplitTypeUnitFileTable.Emit(*Asm->OutStreamer, MCDwarfLineTableParams()); in emitDebugLineDWO()
1895 MCSection *OffSec = Asm->getObjFileLowering().getDwarfStrOffDWOSection(); in emitDebugStrDWO()
1896 InfoHolder.emitStrings(Asm->getObjFileLowering().getDwarfStrDWOSection(), in emitDebugStrDWO()
1938 InfoHolder.getUnits().size() + TypeUnitsUnderConstruction.size(), CU, Asm, in addDwarfTypeUnitType()
1953 NewTU.initSection(Asm->getObjFileLowering().getDwarfTypesDWOSection()); in addDwarfTypeUnitType()
1957 Asm->getObjFileLowering().getDwarfTypesSection(Signature)); in addDwarfTypeUnitType()
1999 AccelNames.AddName(InfoHolder.getStringPool().getEntry(*Asm, Name), &Die); in addAccelName()
2005 AccelObjC.AddName(InfoHolder.getStringPool().getEntry(*Asm, Name), &Die); in addAccelObjC()
2011 AccelNamespace.AddName(InfoHolder.getStringPool().getEntry(*Asm, Name), &Die); in addAccelNamespace()
2017 AccelTypes.AddName(InfoHolder.getStringPool().getEntry(*Asm, Name), &Die); in addAccelType()