Lines Matching refs:MCOS
66 void emitRef(MCStreamer *MCOS, StringRef Path);
69 void emitSection(MCStreamer *MCOS);
88 void MCDwarfLineEntry::Make(MCObjectStreamer *MCOS, MCSection *Section) { in Make() argument
89 if (!MCOS->getContext().getDwarfLocSeen()) in Make()
93 MCSymbol *LineSym = MCOS->getContext().createTempSymbol(); in Make()
95 MCOS->EmitLabel(LineSym); in Make()
98 const MCDwarfLoc &DwarfLoc = MCOS->getContext().getCurrentDwarfLoc(); in Make()
104 MCOS->getContext().clearDwarfLocSeen(); in Make()
107 MCOS->getContext() in Make()
108 .getMCDwarfLineTable(MCOS->getContext().getDwarfCompileUnitID()) in Make()
116 static inline const MCExpr *MakeStartMinusEndExpr(const MCStreamer &MCOS, in MakeStartMinusEndExpr() argument
122 MCSymbolRefExpr::create(&End, Variant, MCOS.getContext()); in MakeStartMinusEndExpr()
124 MCSymbolRefExpr::create(&Start, Variant, MCOS.getContext()); in MakeStartMinusEndExpr()
126 MCBinaryExpr::create(MCBinaryExpr::Sub, Res, RHS, MCOS.getContext()); in MakeStartMinusEndExpr()
128 MCConstantExpr::create(IntVal, MCOS.getContext()); in MakeStartMinusEndExpr()
130 MCBinaryExpr::create(MCBinaryExpr::Sub, Res1, Res2, MCOS.getContext()); in MakeStartMinusEndExpr()
151 EmitDwarfLineTable(MCObjectStreamer *MCOS, MCSection *Section, in EmitDwarfLineTable() argument
167 MCOS->EmitIntValue(dwarf::DW_LNS_set_file, 1); in EmitDwarfLineTable()
168 MCOS->EmitULEB128IntValue(FileNum); in EmitDwarfLineTable()
172 MCOS->EmitIntValue(dwarf::DW_LNS_set_column, 1); in EmitDwarfLineTable()
173 MCOS->EmitULEB128IntValue(Column); in EmitDwarfLineTable()
176 MCOS->getContext().getDwarfVersion() >= 4) { in EmitDwarfLineTable()
179 MCOS->EmitIntValue(dwarf::DW_LNS_extended_op, 1); in EmitDwarfLineTable()
180 MCOS->EmitULEB128IntValue(Size + 1); in EmitDwarfLineTable()
181 MCOS->EmitIntValue(dwarf::DW_LNE_set_discriminator, 1); in EmitDwarfLineTable()
182 MCOS->EmitULEB128IntValue(Discriminator); in EmitDwarfLineTable()
186 MCOS->EmitIntValue(dwarf::DW_LNS_set_isa, 1); in EmitDwarfLineTable()
187 MCOS->EmitULEB128IntValue(Isa); in EmitDwarfLineTable()
191 MCOS->EmitIntValue(dwarf::DW_LNS_negate_stmt, 1); in EmitDwarfLineTable()
194 MCOS->EmitIntValue(dwarf::DW_LNS_set_basic_block, 1); in EmitDwarfLineTable()
196 MCOS->EmitIntValue(dwarf::DW_LNS_set_prologue_end, 1); in EmitDwarfLineTable()
198 MCOS->EmitIntValue(dwarf::DW_LNS_set_epilogue_begin, 1); in EmitDwarfLineTable()
205 const MCAsmInfo *asmInfo = MCOS->getContext().getAsmInfo(); in EmitDwarfLineTable()
206 MCOS->EmitDwarfAdvanceLineAddr(LineDelta, LastLabel, Label, in EmitDwarfLineTable()
218 MCSymbol *SectionEnd = MCOS->endSection(Section); in EmitDwarfLineTable()
222 MCContext &Ctx = MCOS->getContext(); in EmitDwarfLineTable()
223 MCOS->SwitchSection(Ctx.getObjectFileInfo()->getDwarfLineSection()); in EmitDwarfLineTable()
226 MCOS->EmitDwarfAdvanceLineAddr(INT64_MAX, LastLabel, SectionEnd, in EmitDwarfLineTable()
233 void MCDwarfLineTable::Emit(MCObjectStreamer *MCOS, in Emit() argument
235 MCContext &context = MCOS->getContext(); in Emit()
250 MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfLineSection()); in Emit()
254 CUIDTablePair.second.EmitCU(MCOS, Params, LineStr); in Emit()
258 LineStr->emitSection(MCOS); in Emit()
261 void MCDwarfDwoLineTable::Emit(MCStreamer &MCOS, MCDwarfLineTableParams Params, in Emit() argument
266 MCOS.SwitchSection(Section); in Emit()
267 MCOS.EmitLabel(Header.Emit(&MCOS, Params, None, NoLineStr).second); in Emit()
271 MCDwarfLineTableHeader::Emit(MCStreamer *MCOS, MCDwarfLineTableParams Params, in Emit() argument
290 MCOS, Params, in Emit()
311 void MCDwarfLineStr::emitSection(MCStreamer *MCOS) { in emitSection() argument
313 MCOS->SwitchSection( in emitSection()
314 MCOS->getContext().getObjectFileInfo()->getDwarfLineStrSection()); in emitSection()
320 MCOS->EmitBinaryData(Data.str()); in emitSection()
323 void MCDwarfLineStr::emitRef(MCStreamer *MCOS, StringRef Path) { in emitRef() argument
327 MCContext &Ctx = MCOS->getContext(); in emitRef()
328 MCOS->EmitValue(makeStartPlusIntExpr(Ctx, *LineStrLabel, Offset), RefSize); in emitRef()
330 MCOS->EmitIntValue(Offset, RefSize); in emitRef()
333 void MCDwarfLineTableHeader::emitV2FileDirTables(MCStreamer *MCOS) const { in emitV2FileDirTables()
336 MCOS->EmitBytes(Dir); // The DirectoryName, and... in emitV2FileDirTables()
337 MCOS->EmitBytes(StringRef("\0", 1)); // its null terminator. in emitV2FileDirTables()
339 MCOS->EmitIntValue(0, 1); // Terminate the directory list. in emitV2FileDirTables()
344 MCOS->EmitBytes(MCDwarfFiles[i].Name); // FileName and... in emitV2FileDirTables()
345 MCOS->EmitBytes(StringRef("\0", 1)); // its null terminator. in emitV2FileDirTables()
346 MCOS->EmitULEB128IntValue(MCDwarfFiles[i].DirIndex); // Directory number. in emitV2FileDirTables()
347 MCOS->EmitIntValue(0, 1); // Last modification timestamp (always 0). in emitV2FileDirTables()
348 MCOS->EmitIntValue(0, 1); // File size (always 0). in emitV2FileDirTables()
350 MCOS->EmitIntValue(0, 1); // Terminate the file list. in emitV2FileDirTables()
353 static void emitOneV5FileEntry(MCStreamer *MCOS, const MCDwarfFile &DwarfFile, in emitOneV5FileEntry() argument
358 LineStr->emitRef(MCOS, DwarfFile.Name); in emitOneV5FileEntry()
360 MCOS->EmitBytes(DwarfFile.Name); // FileName and... in emitOneV5FileEntry()
361 MCOS->EmitBytes(StringRef("\0", 1)); // its null terminator. in emitOneV5FileEntry()
363 MCOS->EmitULEB128IntValue(DwarfFile.DirIndex); // Directory number. in emitOneV5FileEntry()
366 MCOS->EmitBinaryData( in emitOneV5FileEntry()
372 LineStr->emitRef(MCOS, DwarfFile.Source.getValueOr(StringRef())); in emitOneV5FileEntry()
374 MCOS->EmitBytes( in emitOneV5FileEntry()
376 MCOS->EmitBytes(StringRef("\0", 1)); // its null terminator. in emitOneV5FileEntry()
382 MCStreamer *MCOS, Optional<MCDwarfLineStr> &LineStr, in emitV5FileDirTables() argument
387 MCOS->EmitIntValue(1, 1); in emitV5FileDirTables()
388 MCOS->EmitULEB128IntValue(dwarf::DW_LNCT_path); in emitV5FileDirTables()
389 MCOS->EmitULEB128IntValue(LineStr ? dwarf::DW_FORM_line_strp in emitV5FileDirTables()
391 MCOS->EmitULEB128IntValue(MCDwarfDirs.size() + 1); in emitV5FileDirTables()
397 LineStr->emitRef(MCOS, CompDir); in emitV5FileDirTables()
399 LineStr->emitRef(MCOS, Dir); in emitV5FileDirTables()
402 MCOS->EmitBytes(CompDir); in emitV5FileDirTables()
403 MCOS->EmitBytes(StringRef("\0", 1)); in emitV5FileDirTables()
405 MCOS->EmitBytes(Dir); // The DirectoryName, and... in emitV5FileDirTables()
406 MCOS->EmitBytes(StringRef("\0", 1)); // its null terminator. in emitV5FileDirTables()
418 MCOS->EmitIntValue(Entries, 1); in emitV5FileDirTables()
419 MCOS->EmitULEB128IntValue(dwarf::DW_LNCT_path); in emitV5FileDirTables()
420 MCOS->EmitULEB128IntValue(LineStr ? dwarf::DW_FORM_line_strp in emitV5FileDirTables()
422 MCOS->EmitULEB128IntValue(dwarf::DW_LNCT_directory_index); in emitV5FileDirTables()
423 MCOS->EmitULEB128IntValue(dwarf::DW_FORM_udata); in emitV5FileDirTables()
425 MCOS->EmitULEB128IntValue(dwarf::DW_LNCT_MD5); in emitV5FileDirTables()
426 MCOS->EmitULEB128IntValue(dwarf::DW_FORM_data16); in emitV5FileDirTables()
429 MCOS->EmitULEB128IntValue(dwarf::DW_LNCT_LLVM_source); in emitV5FileDirTables()
430 MCOS->EmitULEB128IntValue(LineStr ? dwarf::DW_FORM_line_strp in emitV5FileDirTables()
437 MCOS->EmitULEB128IntValue(MCDwarfFiles.size()); in emitV5FileDirTables()
438 emitOneV5FileEntry(MCOS, RootFile.Name.empty() ? MCDwarfFiles[1] : RootFile, in emitV5FileDirTables()
441 emitOneV5FileEntry(MCOS, MCDwarfFiles[i], HasAllMD5, HasSource, LineStr); in emitV5FileDirTables()
445 MCDwarfLineTableHeader::Emit(MCStreamer *MCOS, MCDwarfLineTableParams Params, in Emit() argument
448 MCContext &context = MCOS->getContext(); in Emit()
455 MCOS->EmitLabel(LineStartSym); in Emit()
462 emitAbsValue(*MCOS, in Emit()
463 MakeStartMinusEndExpr(*MCOS, *LineStartSym, *LineEndSym, 4), 4); in Emit()
467 MCOS->EmitIntValue(LineTableVersion, 2); in Emit()
475 MCOS->EmitIntValue(context.getAsmInfo()->getCodePointerSize(), 1); in Emit()
476 MCOS->EmitIntValue(0, 1); // Segment selector; same as EmitGenDwarfAranges. in Emit()
485 emitAbsValue(*MCOS, in Emit()
486 MakeStartMinusEndExpr(*MCOS, *LineStartSym, *ProEndSym, in Emit()
491 MCOS->EmitIntValue(context.getAsmInfo()->getMinInstAlignment(), 1); in Emit()
496 MCOS->EmitIntValue(1, 1); in Emit()
497 MCOS->EmitIntValue(DWARF2_LINE_DEFAULT_IS_STMT, 1); in Emit()
498 MCOS->EmitIntValue(Params.DWARF2LineBase, 1); in Emit()
499 MCOS->EmitIntValue(Params.DWARF2LineRange, 1); in Emit()
500 MCOS->EmitIntValue(StandardOpcodeLengths.size() + 1, 1); in Emit()
504 MCOS->EmitIntValue(Length, 1); in Emit()
509 emitV5FileDirTables(MCOS, LineStr, context.getCompilationDir()); in Emit()
511 emitV2FileDirTables(MCOS); in Emit()
515 MCOS->EmitLabel(ProEndSym); in Emit()
520 void MCDwarfLineTable::EmitCU(MCObjectStreamer *MCOS, in EmitCU() argument
523 MCSymbol *LineEndSym = Header.Emit(MCOS, Params, LineStr).second; in EmitCU()
527 EmitDwarfLineTable(MCOS, LineSec.first, LineSec.second); in EmitCU()
531 MCOS->EmitLabel(LineEndSym); in EmitCU()
633 void MCDwarfLineAddr::Emit(MCStreamer *MCOS, MCDwarfLineTableParams Params, in Emit() argument
635 MCContext &Context = MCOS->getContext(); in Emit()
639 MCOS->EmitBytes(OS.str()); in Emit()
783 static void EmitAbbrev(MCStreamer *MCOS, uint64_t Name, uint64_t Form) { in EmitAbbrev() argument
784 MCOS->EmitULEB128IntValue(Name); in EmitAbbrev()
785 MCOS->EmitULEB128IntValue(Form); in EmitAbbrev()
790 static void EmitGenDwarfAbbrev(MCStreamer *MCOS) { in EmitGenDwarfAbbrev() argument
791 MCContext &context = MCOS->getContext(); in EmitGenDwarfAbbrev()
792 MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfAbbrevSection()); in EmitGenDwarfAbbrev()
795 MCOS->EmitULEB128IntValue(1); in EmitGenDwarfAbbrev()
796 MCOS->EmitULEB128IntValue(dwarf::DW_TAG_compile_unit); in EmitGenDwarfAbbrev()
797 MCOS->EmitIntValue(dwarf::DW_CHILDREN_yes, 1); in EmitGenDwarfAbbrev()
798 EmitAbbrev(MCOS, dwarf::DW_AT_stmt_list, context.getDwarfVersion() >= 4 in EmitGenDwarfAbbrev()
803 EmitAbbrev(MCOS, dwarf::DW_AT_ranges, context.getDwarfVersion() >= 4 in EmitGenDwarfAbbrev()
807 EmitAbbrev(MCOS, dwarf::DW_AT_low_pc, dwarf::DW_FORM_addr); in EmitGenDwarfAbbrev()
808 EmitAbbrev(MCOS, dwarf::DW_AT_high_pc, dwarf::DW_FORM_addr); in EmitGenDwarfAbbrev()
810 EmitAbbrev(MCOS, dwarf::DW_AT_name, dwarf::DW_FORM_string); in EmitGenDwarfAbbrev()
812 EmitAbbrev(MCOS, dwarf::DW_AT_comp_dir, dwarf::DW_FORM_string); in EmitGenDwarfAbbrev()
815 EmitAbbrev(MCOS, dwarf::DW_AT_APPLE_flags, dwarf::DW_FORM_string); in EmitGenDwarfAbbrev()
816 EmitAbbrev(MCOS, dwarf::DW_AT_producer, dwarf::DW_FORM_string); in EmitGenDwarfAbbrev()
817 EmitAbbrev(MCOS, dwarf::DW_AT_language, dwarf::DW_FORM_data2); in EmitGenDwarfAbbrev()
818 EmitAbbrev(MCOS, 0, 0); in EmitGenDwarfAbbrev()
821 MCOS->EmitULEB128IntValue(2); in EmitGenDwarfAbbrev()
822 MCOS->EmitULEB128IntValue(dwarf::DW_TAG_label); in EmitGenDwarfAbbrev()
823 MCOS->EmitIntValue(dwarf::DW_CHILDREN_yes, 1); in EmitGenDwarfAbbrev()
824 EmitAbbrev(MCOS, dwarf::DW_AT_name, dwarf::DW_FORM_string); in EmitGenDwarfAbbrev()
825 EmitAbbrev(MCOS, dwarf::DW_AT_decl_file, dwarf::DW_FORM_data4); in EmitGenDwarfAbbrev()
826 EmitAbbrev(MCOS, dwarf::DW_AT_decl_line, dwarf::DW_FORM_data4); in EmitGenDwarfAbbrev()
827 EmitAbbrev(MCOS, dwarf::DW_AT_low_pc, dwarf::DW_FORM_addr); in EmitGenDwarfAbbrev()
828 EmitAbbrev(MCOS, dwarf::DW_AT_prototyped, dwarf::DW_FORM_flag); in EmitGenDwarfAbbrev()
829 EmitAbbrev(MCOS, 0, 0); in EmitGenDwarfAbbrev()
832 MCOS->EmitULEB128IntValue(3); in EmitGenDwarfAbbrev()
833 MCOS->EmitULEB128IntValue(dwarf::DW_TAG_unspecified_parameters); in EmitGenDwarfAbbrev()
834 MCOS->EmitIntValue(dwarf::DW_CHILDREN_no, 1); in EmitGenDwarfAbbrev()
835 EmitAbbrev(MCOS, 0, 0); in EmitGenDwarfAbbrev()
838 MCOS->EmitIntValue(0, 1); in EmitGenDwarfAbbrev()
845 static void EmitGenDwarfAranges(MCStreamer *MCOS, in EmitGenDwarfAranges() argument
847 MCContext &context = MCOS->getContext(); in EmitGenDwarfAranges()
851 MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfARangesSection()); in EmitGenDwarfAranges()
874 MCOS->EmitIntValue(Length - 4, 4); in EmitGenDwarfAranges()
876 MCOS->EmitIntValue(2, 2); in EmitGenDwarfAranges()
880 MCOS->EmitSymbolValue(InfoSectionSymbol, 4, in EmitGenDwarfAranges()
883 MCOS->EmitIntValue(0, 4); in EmitGenDwarfAranges()
885 MCOS->EmitIntValue(AddrSize, 1); in EmitGenDwarfAranges()
887 MCOS->EmitIntValue(0, 1); in EmitGenDwarfAranges()
890 MCOS->EmitIntValue(0, 1); in EmitGenDwarfAranges()
902 const MCExpr *Size = MakeStartMinusEndExpr(*MCOS, in EmitGenDwarfAranges()
904 MCOS->EmitValue(Addr, AddrSize); in EmitGenDwarfAranges()
905 emitAbsValue(*MCOS, Size, AddrSize); in EmitGenDwarfAranges()
909 MCOS->EmitIntValue(0, AddrSize); in EmitGenDwarfAranges()
910 MCOS->EmitIntValue(0, AddrSize); in EmitGenDwarfAranges()
916 static void EmitGenDwarfInfo(MCStreamer *MCOS, in EmitGenDwarfInfo() argument
920 MCContext &context = MCOS->getContext(); in EmitGenDwarfInfo()
922 MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfInfoSection()); in EmitGenDwarfInfo()
927 MCOS->EmitLabel(InfoStart); in EmitGenDwarfInfo()
934 const MCExpr *Length = MakeStartMinusEndExpr(*MCOS, *InfoStart, *InfoEnd, 4); in EmitGenDwarfInfo()
935 emitAbsValue(*MCOS, Length, 4); in EmitGenDwarfInfo()
938 MCOS->EmitIntValue(context.getDwarfVersion(), 2); in EmitGenDwarfInfo()
945 MCOS->EmitIntValue(dwarf::DW_UT_compile, 1); in EmitGenDwarfInfo()
946 MCOS->EmitIntValue(AddrSize, 1); in EmitGenDwarfInfo()
951 MCOS->EmitIntValue(0, 4); in EmitGenDwarfInfo()
953 MCOS->EmitSymbolValue(AbbrevSectionSymbol, 4, in EmitGenDwarfInfo()
956 MCOS->EmitIntValue(AddrSize, 1); in EmitGenDwarfInfo()
961 MCOS->EmitULEB128IntValue(1); in EmitGenDwarfInfo()
966 MCOS->EmitSymbolValue(LineSectionSymbol, 4, in EmitGenDwarfInfo()
969 MCOS->EmitIntValue(0, 4); in EmitGenDwarfInfo()
977 MCOS->EmitSymbolValue(RangesSectionSymbol, 4); in EmitGenDwarfInfo()
995 MCOS->EmitValue(Start, AddrSize); in EmitGenDwarfInfo()
1000 MCOS->EmitValue(End, AddrSize); in EmitGenDwarfInfo()
1007 MCOS->EmitBytes(MCDwarfDirs[0]); in EmitGenDwarfInfo()
1008 MCOS->EmitBytes(sys::path::get_separator()); in EmitGenDwarfInfo()
1011 MCOS->getContext().getMCDwarfFiles(); in EmitGenDwarfInfo()
1012 MCOS->EmitBytes(MCDwarfFiles[1].Name); in EmitGenDwarfInfo()
1013 MCOS->EmitIntValue(0, 1); // NULL byte to terminate the string. in EmitGenDwarfInfo()
1017 MCOS->EmitBytes(context.getCompilationDir()); in EmitGenDwarfInfo()
1018 MCOS->EmitIntValue(0, 1); // NULL byte to terminate the string. in EmitGenDwarfInfo()
1024 MCOS->EmitBytes(DwarfDebugFlags); in EmitGenDwarfInfo()
1025 MCOS->EmitIntValue(0, 1); // NULL byte to terminate the string. in EmitGenDwarfInfo()
1031 MCOS->EmitBytes(DwarfDebugProducer); in EmitGenDwarfInfo()
1033 MCOS->EmitBytes(StringRef("llvm-mc (based on LLVM " PACKAGE_VERSION ")")); in EmitGenDwarfInfo()
1034 MCOS->EmitIntValue(0, 1); // NULL byte to terminate the string. in EmitGenDwarfInfo()
1038 MCOS->EmitIntValue(dwarf::DW_LANG_Mips_Assembler, 2); in EmitGenDwarfInfo()
1044 MCOS->getContext().getMCGenDwarfLabelEntries(); in EmitGenDwarfInfo()
1047 MCOS->EmitULEB128IntValue(2); in EmitGenDwarfInfo()
1050 MCOS->EmitBytes(Entry.getName()); in EmitGenDwarfInfo()
1051 MCOS->EmitIntValue(0, 1); // NULL byte to terminate the string. in EmitGenDwarfInfo()
1054 MCOS->EmitIntValue(Entry.getFileNumber(), 4); in EmitGenDwarfInfo()
1057 MCOS->EmitIntValue(Entry.getLineNumber(), 4); in EmitGenDwarfInfo()
1062 MCOS->EmitValue(AT_low_pc, AddrSize); in EmitGenDwarfInfo()
1065 MCOS->EmitIntValue(0, 1); in EmitGenDwarfInfo()
1068 MCOS->EmitULEB128IntValue(3); in EmitGenDwarfInfo()
1071 MCOS->EmitIntValue(0, 1); in EmitGenDwarfInfo()
1075 MCOS->EmitIntValue(0, 1); in EmitGenDwarfInfo()
1078 MCOS->EmitLabel(InfoEnd); in EmitGenDwarfInfo()
1084 static void EmitGenDwarfRanges(MCStreamer *MCOS) { in EmitGenDwarfRanges() argument
1085 MCContext &context = MCOS->getContext(); in EmitGenDwarfRanges()
1091 MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfRangesSection()); in EmitGenDwarfRanges()
1102 MCOS->emitFill(AddrSize, 0xFF); in EmitGenDwarfRanges()
1103 MCOS->EmitValue(SectionStartAddr, AddrSize); in EmitGenDwarfRanges()
1106 const MCExpr *SectionSize = MakeStartMinusEndExpr(*MCOS, in EmitGenDwarfRanges()
1108 MCOS->EmitIntValue(0, AddrSize); in EmitGenDwarfRanges()
1109 emitAbsValue(*MCOS, SectionSize, AddrSize); in EmitGenDwarfRanges()
1113 MCOS->EmitIntValue(0, AddrSize); in EmitGenDwarfRanges()
1114 MCOS->EmitIntValue(0, AddrSize); in EmitGenDwarfRanges()
1121 void MCGenDwarfInfo::Emit(MCStreamer *MCOS) { in Emit() argument
1122 MCContext &context = MCOS->getContext(); in Emit()
1130 LineSectionSymbol = MCOS->getDwarfLineTableSymbol(0); in Emit()
1136 MCOS->getContext().finalizeDwarfSections(*MCOS); in Emit()
1140 if (MCOS->getContext().getGenDwarfSectionSyms().empty()) in Emit()
1146 MCOS->getContext().getGenDwarfSectionSyms().size() > 1 && in Emit()
1147 MCOS->getContext().getDwarfVersion() >= 3; in Emit()
1150 MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfInfoSection()); in Emit()
1153 MCOS->EmitLabel(InfoSectionSymbol); in Emit()
1155 MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfAbbrevSection()); in Emit()
1158 MCOS->EmitLabel(AbbrevSectionSymbol); in Emit()
1161 MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfRangesSection()); in Emit()
1164 MCOS->EmitLabel(RangesSectionSymbol); in Emit()
1170 MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfARangesSection()); in Emit()
1173 EmitGenDwarfAranges(MCOS, InfoSectionSymbol); in Emit()
1176 EmitGenDwarfRanges(MCOS); in Emit()
1179 EmitGenDwarfAbbrev(MCOS); in Emit()
1182 EmitGenDwarfInfo(MCOS, AbbrevSectionSymbol, LineSectionSymbol, in Emit()
1192 void MCGenDwarfLabelEntry::Make(MCSymbol *Symbol, MCStreamer *MCOS, in Make() argument
1197 MCContext &context = MCOS->getContext(); in Make()
1200 if (!context.getGenDwarfSectionSyms().count(MCOS->getCurrentSectionOnly())) in Make()
1222 MCOS->EmitLabel(Label); in Make()
1225 MCOS->getContext().addMCGenDwarfLabelEntry( in Make()