Home | History | Annotate | Download | only in AsmPrinter

Lines Matching refs:Asm

98   MCSymbol *MCL = Asm->MMI->getContext().CreateTempSymbol();
99 Asm->OutStreamer.EmitLabel(MCL);
105 : Asm(nullptr), CurFn(nullptr) {
116 Asm = AP;
133 const MCSymbol *Fn = Asm->getSymbol(GV);
158 Asm->OutStreamer.AddComment(
160 Asm->EmitInt32(COFF::DEBUG_LINE_TABLE_SUBSECTION);
161 MCSymbol *SubsectionBegin = Asm->MMI->getContext().CreateTempSymbol(),
162 *SubsectionEnd = Asm->MMI->getContext().CreateTempSymbol();
163 EmitLabelDiff(Asm->OutStreamer, SubsectionBegin, SubsectionEnd);
164 Asm->OutStreamer.EmitLabel(SubsectionBegin);
167 Asm->OutStreamer.EmitCOFFSecRel32(Fn);
168 Asm->OutStreamer.EmitCOFFSectionIndex(Fn);
171 EmitLabelDiff(Asm->OutStreamer, Fn, FI.End);
182 Asm->OutStreamer.EmitLabel(FileSegmentEnd);
189 Asm->OutStreamer.AddComment(
191 MCSymbol *FileSegmentBegin = Asm->MMI->getContext().CreateTempSymbol();
192 Asm->OutStreamer.EmitLabel(FileSegmentBegin);
193 Asm->EmitInt32(8 * IndexInStringTable);
197 Asm->EmitInt32(SegmentLength);
201 FileSegmentEnd = Asm->MMI->getContext().CreateTempSymbol();
202 EmitLabelDiff(Asm->OutStreamer, FileSegmentBegin, FileSegmentEnd);
206 EmitLabelDiff(Asm->OutStreamer, Fn, Instr);
207 Asm->EmitInt32(InstrInfo[Instr].LineNumber);
211 Asm->OutStreamer.EmitLabel(FileSegmentEnd);
212 Asm->OutStreamer.EmitLabel(SubsectionEnd);
219 assert(Asm != nullptr);
220 Asm->OutStreamer.SwitchSection(
221 Asm->getObjFileLowering().getCOFFDebugSymbolsSection());
222 Asm->EmitInt32(COFF::DEBUG_SECTION_MAGIC);
233 Asm->OutStreamer.AddComment("File index to string table offset subsection");
234 Asm->EmitInt32(COFF::DEBUG_INDEX_SUBSECTION);
236 Asm->EmitInt32(8 * NumFilenames);
240 Asm->EmitInt32(FileNameRegistry.Infos[Filename].StartOffset);
242 Asm->EmitInt32(0);
246 Asm->OutStreamer.AddComment("String table");
247 Asm->EmitInt32(COFF::DEBUG_STRING_TABLE_SUBSECTION);
248 Asm->EmitInt32(FileNameRegistry.LastOffset);
250 Asm->EmitInt8(0);
254 Asm->OutStreamer.EmitBytes(FileNameRegistry.Filenames[I]);
255 Asm->EmitInt8(0);
259 Asm->OutStreamer.EmitFill((-FileNameRegistry.LastOffset) % 4, 0);
267 if (!Asm || !Asm->MMI->hasDebugInfo())
307 if (!Asm || !CurFn) // We haven't created any debug info for this function.
319 MCSymbol *FunctionEndSym = Asm->OutStreamer.getContext().CreateTempSymbol();
320 Asm->OutStreamer.EmitLabel(FunctionEndSym);
328 if (!Asm || MI->isDebugValue() || MI->getFlag(MachineInstr::FrameSetup))
333 maybeRecordLocation(DL, Asm->MF);