Lines Matching refs:Asm

352   const Triple &TT = Asm->TM.getTargetTriple();  in DwarfDebug()
356 if (Asm->TM.Options.DebuggerTuning != DebuggerKind::Default) in DwarfDebug()
357 DebuggerTuning = Asm->TM.Options.DebuggerTuning; in DwarfDebug()
377 HasSplitDwarf = !Asm->TM.Options.MCOptions.SplitDwarfFile.empty(); in DwarfDebug()
385 unsigned DwarfVersionNumber = Asm->TM.Options.MCOptions.DwarfVersion; in DwarfDebug()
401 ((Asm->TM.Options.MCOptions.Dwarf64 || MMI->getModule()->isDwarf64()) && in DwarfDebug()
442 EmitDebugEntryValues = Asm->TM.Options.ShouldEmitDebugEntryValues(); in DwarfDebug()
464 Asm->OutStreamer->getContext().setDwarfVersion(DwarfVersion); in DwarfDebug()
465 Asm->OutStreamer->getContext().setDwarfFormat(Dwarf64 ? dwarf::DWARF64 in DwarfDebug()
1077 InfoHolder.getUnits().size(), DIUnit, Asm, this, &InfoHolder); in getOrCreateDwarfCompileUnit()
1088 if (!Asm->OutStreamer->hasRawTextSupport() || SingleCU) in getOrCreateDwarfCompileUnit()
1089 Asm->OutStreamer->emitDwarfFile0Directive( in getOrCreateDwarfCompileUnit()
1095 NewCU.setSection(Asm->getObjFileLowering().getDwarfInfoDWOSection()); in getOrCreateDwarfCompileUnit()
1098 NewCU.setSection(Asm->getObjFileLowering().getDwarfInfoSection()); in getOrCreateDwarfCompileUnit()
1147 if (!Asm || !MMI->hasDebugInfo()) in beginModule()
1170 .setStringOffsetsStartSym(Asm->createTempSymbol("str_offsets_base")); in beginModule()
1178 Asm->createTempSymbol("rnglists_table_base")); in beginModule()
1182 Asm->createTempSymbol("rnglists_dwo_table_base")); in beginModule()
1187 AddrPool.setLabel(Asm->createTempSymbol("addr_table_base")); in beginModule()
1188 DebugLocs.setSym(Asm->createTempSymbol("loclists_table_base")); in beginModule()
1264 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); in finalizeModuleInfo()
1275 DWOName = Asm->TM.Options.MCOptions.SplitDwarfFile; in finalizeModuleInfo()
1300 Asm->TM.Options.MCOptions.SplitDwarfFile); in finalizeModuleInfo()
1302 Asm->TM.Options.MCOptions.SplitDwarfFile); in finalizeModuleInfo()
1305 DIEHash(Asm, &TheCU).computeCUSignature(DWOName, TheCU.getUnitDie()); in finalizeModuleInfo()
1419 if (!Asm || !MMI->hasDebugInfo()) in endModule()
1513 for (const auto &VI : Asm->MF->getVariableDbgInfo()) { in collectVariableInfoFromMFTable()
1672 const MachineBasicBlock &EndMBB = Asm->MF->back(); in buildLocationList()
1673 EndLabel = Asm->MBBSectionRanges[EndMBB.getSectionIDNum()].EndLabel; in buildLocationList()
1731 if (Asm->MF->hasBBSections() && StartLabel == Asm->getFunctionBegin() && in buildLocationList()
1732 !Instr->getParent()->sameSection(&Asm->MF->front())) { in buildLocationList()
1735 for (const MachineBasicBlock &MBB : *Asm->MF) { in buildLocationList()
1736 if (MBB.isBeginSection() && &MBB != &Asm->MF->front()) in buildLocationList()
1772 if (!Asm->MF->hasBBSections()) in buildLocationList()
1781 if (DebugLoc[0].getBeginSym() == Asm->getFunctionBegin()) in buildLocationList()
1782 RangeMBB = &Asm->MF->front(); in buildLocationList()
1886 DebugLocStream::ListBuilder List(DebugLocs, TheCU, *Asm, *RegVar, *MInsn); in collectEntityInfo()
1908 Entry.finalize(*Asm, List, BT, TheCU); in collectEntityInfo()
2010 Asm->OutStreamer->getContext().getCurrentDwarfLoc().getLine(); in beginInstruction()
2104 static void recordSourceLine(AsmPrinter &Asm, unsigned Line, unsigned Col, in recordSourceLine() argument
2120 Asm.OutStreamer->emitDwarfLocDirective(FileNo, Line, Col, Flags, 0, in recordSourceLine()
2135 ::recordSourceLine(*Asm, SP->getScopeLine(), 0, SP, DWARF2_FLAG_IS_STMT, in emitInitialLocDirective()
2154 Asm->OutStreamer->getContext().setDwarfCompileUnitID( in beginFunctionImpl()
2159 *MF, Asm->OutStreamer->getContext().getDwarfCompileUnitID()); in beginFunctionImpl()
2167 if (Asm->OutStreamer->hasRawTextSupport()) in getDwarfCompileUnitIDForLineTable()
2176 auto &LineTable = Asm->OutStreamer->getContext().getMCDwarfLineTable( in terminateLineTable()
2202 Asm->OutStreamer->getContext().setDwarfCompileUnitID(0); in endFunctionImpl()
2218 for (const auto &R : Asm->MBBSectionRanges) in endFunctionImpl()
2283 ::recordSourceLine(*Asm, Line, Col, S, Flags, in recordSourceLine()
2284 Asm->OutStreamer->getContext().getDwarfCompileUnitID(), in recordSourceLine()
2302 Holder.emitAbbrevs(Asm->getObjFileLowering().getDwarfAbbrevSection()); in emitAbbreviations()
2308 *Asm, Asm->getObjFileLowering().getDwarfStrOffSection(), in emitStringOffsetsTableHeader()
2315 Asm->OutStreamer->switchSection(Section); in emitAccel()
2318 emitAppleAccelTable(Asm, Accel, TableName, Section->getBeginSymbol()); in emitAccel()
2326 emitDWARF5AccelTable(Asm, AccelDebugNames, *this, getUnits()); in emitAccelDebugNames()
2331 emitAccel(AccelNames, Asm->getObjFileLowering().getDwarfAccelNamesSection(), in emitAccelNames()
2338 emitAccel(AccelObjC, Asm->getObjFileLowering().getDwarfAccelObjCSection(), in emitAccelObjC()
2345 Asm->getObjFileLowering().getDwarfAccelNamespaceSection(), in emitAccelNamespaces()
2351 emitAccel(AccelTypes, Asm->getObjFileLowering().getDwarfAccelTypesSection(), in emitAccelTypes()
2434 Asm->OutStreamer->switchSection( in emitDebugPubSections()
2435 GnuStyle ? Asm->getObjFileLowering().getDwarfGnuPubNamesSection() in emitDebugPubSections()
2436 : Asm->getObjFileLowering().getDwarfPubNamesSection()); in emitDebugPubSections()
2439 Asm->OutStreamer->switchSection( in emitDebugPubSections()
2440 GnuStyle ? Asm->getObjFileLowering().getDwarfGnuPubTypesSection() in emitDebugPubSections()
2441 : Asm->getObjFileLowering().getDwarfPubTypesSection()); in emitDebugPubSections()
2448 Asm->emitDwarfOffset(CU.getSection()->getBeginSymbol(), in emitSectionReference()
2451 Asm->emitDwarfSymbolReference(CU.getLabelBegin()); in emitSectionReference()
2461 MCSymbol *EndLabel = Asm->emitDwarfUnitLength( in emitDebugPubSection()
2464 Asm->OutStreamer->AddComment("DWARF Version"); in emitDebugPubSection()
2465 Asm->emitInt16(dwarf::DW_PUBNAMES_VERSION); in emitDebugPubSection()
2467 Asm->OutStreamer->AddComment("Offset of Compilation Unit Info"); in emitDebugPubSection()
2470 Asm->OutStreamer->AddComment("Compilation Unit Length"); in emitDebugPubSection()
2471 Asm->emitDwarfLengthOrOffset(TheU->getLength()); in emitDebugPubSection()
2478 Asm->OutStreamer->AddComment("DIE offset"); in emitDebugPubSection()
2479 Asm->emitDwarfLengthOrOffset(Entity->getOffset()); in emitDebugPubSection()
2483 Asm->OutStreamer->AddComment( in emitDebugPubSection()
2486 Asm->emitInt8(Desc.toBits()); in emitDebugPubSection()
2489 Asm->OutStreamer->AddComment("External Name"); in emitDebugPubSection()
2490 Asm->OutStreamer->emitBytes(StringRef(Name, GI.getKeyLength() + 1)); in emitDebugPubSection()
2493 Asm->OutStreamer->AddComment("End Mark"); in emitDebugPubSection()
2494 Asm->emitDwarfLengthOrOffset(0); in emitDebugPubSection()
2495 Asm->OutStreamer->emitLabel(EndLabel); in emitDebugPubSection()
2503 StringOffsetsSection = Asm->getObjFileLowering().getDwarfStrOffSection(); in emitDebugStr()
2506 Holder.emitStrings(Asm->getObjFileLowering().getDwarfStrSection(), in emitDebugStr()
2522 unsigned PtrSize = Asm->MAI->getCodePointerSize(); in emitDebugLocEntry()
2525 Asm->getDataLayout().isLittleEndian(), PtrSize); in emitDebugLocEntry()
2526 DWARFExpression Expr(Data, PtrSize, Asm->OutContext.getDwarfFormat()); in emitDebugLocEntry()
2683 Asm->OutStreamer->AddComment("Loc expr size"); in emitDebugLocEntryLocation()
2685 Asm->emitULEB128(DebugLocs.getBytes(Entry).size()); in emitDebugLocEntryLocation()
2687 Asm->emitInt16(DebugLocs.getBytes(Entry).size()); in emitDebugLocEntryLocation()
2691 Asm->emitInt16(0); in emitDebugLocEntryLocation()
2695 APByteStreamer Streamer(*Asm); in emitDebugLocEntryLocation()
2702 static MCSymbol *emitRnglistsTableHeader(AsmPrinter *Asm, in emitRnglistsTableHeader() argument
2704 MCSymbol *TableEnd = mcdwarf::emitListsTableHeaderStart(*Asm->OutStreamer); in emitRnglistsTableHeader()
2706 Asm->OutStreamer->AddComment("Offset entry count"); in emitRnglistsTableHeader()
2707 Asm->emitInt32(Holder.getRangeLists().size()); in emitRnglistsTableHeader()
2708 Asm->OutStreamer->emitLabel(Holder.getRnglistsTableBaseSym()); in emitRnglistsTableHeader()
2711 Asm->emitLabelDifference(List.Label, Holder.getRnglistsTableBaseSym(), in emitRnglistsTableHeader()
2712 Asm->getDwarfOffsetByteSize()); in emitRnglistsTableHeader()
2720 static MCSymbol *emitLoclistsTableHeader(AsmPrinter *Asm, in emitLoclistsTableHeader() argument
2722 MCSymbol *TableEnd = mcdwarf::emitListsTableHeaderStart(*Asm->OutStreamer); in emitLoclistsTableHeader()
2726 Asm->OutStreamer->AddComment("Offset entry count"); in emitLoclistsTableHeader()
2727 Asm->emitInt32(DebugLocs.getLists().size()); in emitLoclistsTableHeader()
2728 Asm->OutStreamer->emitLabel(DebugLocs.getSym()); in emitLoclistsTableHeader()
2731 Asm->emitLabelDifference(List.Label, DebugLocs.getSym(), in emitLoclistsTableHeader()
2732 Asm->getDwarfOffsetByteSize()); in emitLoclistsTableHeader()
2739 DwarfDebug &DD, AsmPrinter *Asm, MCSymbol *Sym, const Ranges &R, in emitRangeList() argument
2746 auto Size = Asm->MAI->getCodePointerSize(); in emitRangeList()
2750 Asm->OutStreamer->emitLabel(Sym); in emitRangeList()
2769 Asm->OutStreamer->emitIntValue(-1, Size); in emitRangeList()
2770 Asm->OutStreamer->AddComment(" base address"); in emitRangeList()
2771 Asm->OutStreamer->emitSymbolValue(Base, Size); in emitRangeList()
2778 Asm->OutStreamer->AddComment(StringifyEnum(BaseAddressx)); in emitRangeList()
2779 Asm->emitInt8(BaseAddressx); in emitRangeList()
2780 Asm->OutStreamer->AddComment(" base address index"); in emitRangeList()
2781 Asm->emitULEB128(DD.getAddressPool().getIndex(Base)); in emitRangeList()
2786 Asm->OutStreamer->emitIntValue(-1, Size); in emitRangeList()
2787 Asm->OutStreamer->emitIntValue(0, Size); in emitRangeList()
2798 Asm->OutStreamer->AddComment(StringifyEnum(OffsetPair)); in emitRangeList()
2799 Asm->emitInt8(OffsetPair); in emitRangeList()
2800 Asm->OutStreamer->AddComment(" starting offset"); in emitRangeList()
2801 Asm->emitLabelDifferenceAsULEB128(Begin, Base); in emitRangeList()
2802 Asm->OutStreamer->AddComment(" ending offset"); in emitRangeList()
2803 Asm->emitLabelDifferenceAsULEB128(End, Base); in emitRangeList()
2805 Asm->emitLabelDifference(Begin, Base, Size); in emitRangeList()
2806 Asm->emitLabelDifference(End, Base, Size); in emitRangeList()
2809 Asm->OutStreamer->AddComment(StringifyEnum(StartxLength)); in emitRangeList()
2810 Asm->emitInt8(StartxLength); in emitRangeList()
2811 Asm->OutStreamer->AddComment(" start index"); in emitRangeList()
2812 Asm->emitULEB128(DD.getAddressPool().getIndex(Begin)); in emitRangeList()
2813 Asm->OutStreamer->AddComment(" length"); in emitRangeList()
2814 Asm->emitLabelDifferenceAsULEB128(End, Begin); in emitRangeList()
2816 Asm->OutStreamer->emitSymbolValue(Begin, Size); in emitRangeList()
2817 Asm->OutStreamer->emitSymbolValue(End, Size); in emitRangeList()
2824 Asm->OutStreamer->AddComment(StringifyEnum(EndOfList)); in emitRangeList()
2825 Asm->emitInt8(EndOfList); in emitRangeList()
2828 Asm->OutStreamer->emitIntValue(0, Size); in emitRangeList()
2829 Asm->OutStreamer->emitIntValue(0, Size); in emitRangeList()
2834 static void emitLocList(DwarfDebug &DD, AsmPrinter *Asm, const DebugLocStream::List &List) { in emitLocList() argument
2835 emitRangeList(DD, Asm, List.Label, DD.getDebugLocs().getEntries(List), in emitLocList()
2849 Asm->OutStreamer->switchSection(Sec); in emitDebugLocImpl()
2853 TableEnd = emitLoclistsTableHeader(Asm, *this); in emitDebugLocImpl()
2856 emitLocList(*this, Asm, List); in emitDebugLocImpl()
2859 Asm->OutStreamer->emitLabel(TableEnd); in emitDebugLocImpl()
2866 ? Asm->getObjFileLowering().getDwarfLoclistsSection() in emitDebugLoc()
2867 : Asm->getObjFileLowering().getDwarfLocSection()); in emitDebugLoc()
2874 Asm->getObjFileLowering().getDwarfLoclistsDWOSection()); in emitDebugLocDWO()
2880 Asm->OutStreamer->switchSection( in emitDebugLocDWO()
2881 Asm->getObjFileLowering().getDwarfLocDWOSection()); in emitDebugLocDWO()
2882 Asm->OutStreamer->emitLabel(List.Label); in emitDebugLocDWO()
2893 Asm->emitInt8(dwarf::DW_LLE_startx_length); in emitDebugLocDWO()
2895 Asm->emitULEB128(idx); in emitDebugLocDWO()
2898 Asm->emitLabelDifference(Entry.End, Entry.Begin, 4); in emitDebugLocDWO()
2901 Asm->emitInt8(dwarf::DW_LLE_end_of_list); in emitDebugLocDWO()
2953 unsigned IA = A.Sym ? Asm->OutStreamer->getSymbolOrder(A.Sym) : 0; in emitDebugARanges()
2954 unsigned IB = B.Sym ? Asm->OutStreamer->getSymbolOrder(B.Sym) : 0; in emitDebugARanges()
2966 List.push_back(SymbolCU(nullptr, Asm->OutStreamer->endSection(Section))); in emitDebugARanges()
2987 Asm->OutStreamer->switchSection( in emitDebugARanges()
2988 Asm->getObjFileLowering().getDwarfARangesSection()); in emitDebugARanges()
2990 unsigned PtrSize = Asm->MAI->getCodePointerSize(); in emitDebugARanges()
3015 Asm->getDwarfOffsetByteSize() + // Offset of CU in the .debug_info in emitDebugARanges()
3024 Asm->getUnitLengthFieldByteSize() + ContentSize, Align(TupleSize)); in emitDebugARanges()
3030 Asm->emitDwarfUnitLength(ContentSize, "Length of ARange Set"); in emitDebugARanges()
3031 Asm->OutStreamer->AddComment("DWARF Arange version number"); in emitDebugARanges()
3032 Asm->emitInt16(dwarf::DW_ARANGES_VERSION); in emitDebugARanges()
3033 Asm->OutStreamer->AddComment("Offset Into Debug Info Section"); in emitDebugARanges()
3035 Asm->OutStreamer->AddComment("Address Size (in bytes)"); in emitDebugARanges()
3036 Asm->emitInt8(PtrSize); in emitDebugARanges()
3037 Asm->OutStreamer->AddComment("Segment Size (in bytes)"); in emitDebugARanges()
3038 Asm->emitInt8(0); in emitDebugARanges()
3040 Asm->OutStreamer->emitFill(Padding, 0xff); in emitDebugARanges()
3043 Asm->emitLabelReference(Span.Start, PtrSize); in emitDebugARanges()
3052 Asm->emitLabelDifference(Span.End, Span.Start, PtrSize); in emitDebugARanges()
3062 Asm->OutStreamer->emitIntValue(Size, PtrSize); in emitDebugARanges()
3066 Asm->OutStreamer->AddComment("ARange terminator"); in emitDebugARanges()
3067 Asm->OutStreamer->emitIntValue(0, PtrSize); in emitDebugARanges()
3068 Asm->OutStreamer->emitIntValue(0, PtrSize); in emitDebugARanges()
3073 static void emitRangeList(DwarfDebug &DD, AsmPrinter *Asm, in emitRangeList() argument
3075 emitRangeList(DD, Asm, List.Label, List.Ranges, *List.CU, in emitRangeList()
3094 Asm->OutStreamer->switchSection(Section); in emitDebugRangesImpl()
3098 TableEnd = emitRnglistsTableHeader(Asm, Holder); in emitDebugRangesImpl()
3101 emitRangeList(*this, Asm, List); in emitDebugRangesImpl()
3104 Asm->OutStreamer->emitLabel(TableEnd); in emitDebugRangesImpl()
3114 ? Asm->getObjFileLowering().getDwarfRnglistsSection() in emitDebugRanges()
3115 : Asm->getObjFileLowering().getDwarfRangesSection()); in emitDebugRanges()
3120 Asm->getObjFileLowering().getDwarfRnglistsDWOSection()); in emitDebugRangesDWO()
3125 static void emitMacroHeader(AsmPrinter *Asm, const DwarfDebug &DD, in emitMacroHeader() argument
3131 Asm->OutStreamer->AddComment("Macro information version"); in emitMacroHeader()
3132 Asm->emitInt16(DwarfVersion >= 5 ? DwarfVersion : 4); in emitMacroHeader()
3135 if (Asm->isDwarf64()) { in emitMacroHeader()
3136 Asm->OutStreamer->AddComment("Flags: 64 bit, debug_line_offset present"); in emitMacroHeader()
3137 Asm->emitInt8(MACRO_FLAG_OFFSET_SIZE | MACRO_FLAG_DEBUG_LINE_OFFSET); in emitMacroHeader()
3139 Asm->OutStreamer->AddComment("Flags: 32 bit, debug_line_offset present"); in emitMacroHeader()
3140 Asm->emitInt8(MACRO_FLAG_DEBUG_LINE_OFFSET); in emitMacroHeader()
3142 Asm->OutStreamer->AddComment("debug_line_offset"); in emitMacroHeader()
3144 Asm->emitDwarfLengthOrOffset(0); in emitMacroHeader()
3146 Asm->emitDwarfSymbolReference(CU.getLineTableStartSym()); in emitMacroHeader()
3173 Asm->OutStreamer->AddComment(dwarf::MacroString(Type)); in emitMacro()
3174 Asm->emitULEB128(Type); in emitMacro()
3175 Asm->OutStreamer->AddComment("Line Number"); in emitMacro()
3176 Asm->emitULEB128(M.getLine()); in emitMacro()
3177 Asm->OutStreamer->AddComment("Macro String"); in emitMacro()
3178 Asm->emitULEB128( in emitMacro()
3179 InfoHolder.getStringPool().getIndexedEntry(*Asm, Str).getIndex()); in emitMacro()
3184 Asm->OutStreamer->AddComment(dwarf::GnuMacroString(Type)); in emitMacro()
3185 Asm->emitULEB128(Type); in emitMacro()
3186 Asm->OutStreamer->AddComment("Line Number"); in emitMacro()
3187 Asm->emitULEB128(M.getLine()); in emitMacro()
3188 Asm->OutStreamer->AddComment("Macro String"); in emitMacro()
3189 Asm->emitDwarfSymbolReference( in emitMacro()
3190 InfoHolder.getStringPool().getEntry(*Asm, Str).getSymbol()); in emitMacro()
3193 Asm->OutStreamer->AddComment(dwarf::MacinfoString(M.getMacinfoType())); in emitMacro()
3194 Asm->emitULEB128(M.getMacinfoType()); in emitMacro()
3195 Asm->OutStreamer->AddComment("Line Number"); in emitMacro()
3196 Asm->emitULEB128(M.getLine()); in emitMacro()
3197 Asm->OutStreamer->AddComment("Macro String"); in emitMacro()
3198 Asm->OutStreamer->emitBytes(Str); in emitMacro()
3199 Asm->emitInt8('\0'); in emitMacro()
3207 Asm->OutStreamer->AddComment(MacroFormToString(StartFile)); in emitMacroFileImpl()
3208 Asm->emitULEB128(StartFile); in emitMacroFileImpl()
3209 Asm->OutStreamer->AddComment("Line Number"); in emitMacroFileImpl()
3210 Asm->emitULEB128(MF.getLine()); in emitMacroFileImpl()
3211 Asm->OutStreamer->AddComment("File Number"); in emitMacroFileImpl()
3214 Asm->emitULEB128(getDwoLineTable(U)->getFile( in emitMacroFileImpl()
3216 Asm->OutContext.getDwarfVersion(), F.getSource())); in emitMacroFileImpl()
3218 Asm->emitULEB128(U.getOrCreateSourceID(&F)); in emitMacroFileImpl()
3220 Asm->OutStreamer->AddComment(MacroFormToString(EndFile)); in emitMacroFileImpl()
3221 Asm->emitULEB128(EndFile); in emitMacroFileImpl()
3246 Asm->OutStreamer->switchSection(Section); in emitDebugMacinfoImpl()
3247 Asm->OutStreamer->emitLabel(U.getMacroLabelBegin()); in emitDebugMacinfoImpl()
3249 emitMacroHeader(Asm, *this, U, getDwarfVersion()); in emitDebugMacinfoImpl()
3251 Asm->OutStreamer->AddComment("End Of Macro List Mark"); in emitDebugMacinfoImpl()
3252 Asm->emitInt8(0); in emitDebugMacinfoImpl()
3258 auto &ObjLower = Asm->getObjFileLowering(); in emitDebugMacinfo()
3265 auto &ObjLower = Asm->getObjFileLowering(); in emitDebugMacinfoDWO()
3286 CU.getUniqueID(), CU.getCUNode(), Asm, this, &SkeletonHolder, in constructSkeletonCU()
3289 NewCU.setSection(Asm->getObjFileLowering().getDwarfInfoSection()); in constructSkeletonCU()
3313 InfoHolder.emitAbbrevs(Asm->getObjFileLowering().getDwarfAbbrevDWOSection()); in emitDebugAbbrevDWO()
3319 *Asm->OutStreamer, MCDwarfLineTableParams(), in emitDebugLineDWO()
3320 Asm->getObjFileLowering().getDwarfLineDWOSection()); in emitDebugLineDWO()
3326 *Asm, Asm->getObjFileLowering().getDwarfStrOffDWOSection(), in emitStringOffsetsTableHeaderDWO()
3337 MCSection *OffSec = Asm->getObjFileLowering().getDwarfStrOffDWOSection(); in emitDebugStrDWO()
3338 InfoHolder.emitStrings(Asm->getObjFileLowering().getDwarfStrDWOSection(), in emitDebugStrDWO()
3344 AddrPool.emit(*Asm, Asm->getObjFileLowering().getDwarfAddrSection()); in emitDebugAddr()
3386 auto OwnedUnit = std::make_unique<DwarfTypeUnit>(CU, Asm, this, &InfoHolder, in addDwarfTypeUnitType()
3402 ? Asm->getObjFileLowering().getDwarfTypesDWOSection() in addDwarfTypeUnitType()
3403 : Asm->getObjFileLowering().getDwarfInfoDWOSection(); in addDwarfTypeUnitType()
3408 ? Asm->getObjFileLowering().getDwarfTypesSection(Signature) in addDwarfTypeUnitType()
3409 : Asm->getObjFileLowering().getDwarfInfoSection(Signature); in addDwarfTypeUnitType()
3470 DwarfStringPoolEntryRef Ref = Holder.getStringPool().getEntry(*Asm, Name); in addAccelNameImpl()
3509 return Asm->OutStreamer->getContext().getDwarfVersion(); in getDwarfVersion()
3513 if (Asm->getDwarfVersion() >= 4) in getDwarfSectionOffsetForm()
3515 assert((!Asm->isDwarf64() || (Asm->getDwarfVersion() == 3)) && in getDwarfSectionOffsetForm()
3517 return Asm->isDwarf64() ? dwarf::Form::DW_FORM_data8 in getDwarfSectionOffsetForm()