Lines Matching refs:Ctx

58   EHFrameSection = Ctx->getMachOSection(  in initMachOMCObjectFileInfo()
68 switch (Ctx->emitDwarfUnwindInfo()) { in initMachOMCObjectFileInfo()
88 = Ctx->getMachOSection("__TEXT", "__text", in initMachOMCObjectFileInfo()
92 = Ctx->getMachOSection("__DATA", "__data", 0, SectionKind::getData()); in initMachOMCObjectFileInfo()
98 = Ctx->getMachOSection("__DATA", "__thread_data", in initMachOMCObjectFileInfo()
102 = Ctx->getMachOSection("__DATA", "__thread_bss", in initMachOMCObjectFileInfo()
108 = Ctx->getMachOSection("__DATA", "__thread_vars", in initMachOMCObjectFileInfo()
112 TLSThreadInitSection = Ctx->getMachOSection( in initMachOMCObjectFileInfo()
117 = Ctx->getMachOSection("__TEXT", "__cstring", in initMachOMCObjectFileInfo()
121 = Ctx->getMachOSection("__TEXT","__ustring", 0, in initMachOMCObjectFileInfo()
124 = Ctx->getMachOSection("__TEXT", "__literal4", in initMachOMCObjectFileInfo()
128 = Ctx->getMachOSection("__TEXT", "__literal8", in initMachOMCObjectFileInfo()
133 = Ctx->getMachOSection("__TEXT", "__literal16", in initMachOMCObjectFileInfo()
138 = Ctx->getMachOSection("__TEXT", "__const", 0, in initMachOMCObjectFileInfo()
150 = Ctx->getMachOSection("__DATA", "__const", 0, in initMachOMCObjectFileInfo()
155 = Ctx->getMachOSection("__TEXT", "__textcoal_nt", in initMachOMCObjectFileInfo()
160 = Ctx->getMachOSection("__TEXT", "__const_coal", in initMachOMCObjectFileInfo()
163 DataCoalSection = Ctx->getMachOSection( in initMachOMCObjectFileInfo()
174 = Ctx->getMachOSection("__DATA","__common", in initMachOMCObjectFileInfo()
178 = Ctx->getMachOSection("__DATA","__bss", MachO::S_ZEROFILL, in initMachOMCObjectFileInfo()
183 = Ctx->getMachOSection("__DATA", "__la_symbol_ptr", in initMachOMCObjectFileInfo()
187 = Ctx->getMachOSection("__DATA", "__nl_symbol_ptr", in initMachOMCObjectFileInfo()
192 = Ctx->getMachOSection("__DATA", "__thread_ptr", in initMachOMCObjectFileInfo()
196 AddrSigSection = Ctx->getMachOSection("__DATA", "__llvm_addrsig", 0, in initMachOMCObjectFileInfo()
200 LSDASection = Ctx->getMachOSection("__TEXT", "__gcc_except_tab", 0, in initMachOMCObjectFileInfo()
209 Ctx->getMachOSection("__LD", "__compact_unwind", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
222 Ctx->getMachOSection("__DWARF", "__debug_names", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
225 Ctx->getMachOSection("__DWARF", "__apple_names", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
228 Ctx->getMachOSection("__DWARF", "__apple_objc", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
232 Ctx->getMachOSection("__DWARF", "__apple_namespac", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
235 Ctx->getMachOSection("__DWARF", "__apple_types", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
239 Ctx->getMachOSection("__DWARF", "__swift_ast", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
243 Ctx->getMachOSection("__DWARF", "__debug_abbrev", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
246 Ctx->getMachOSection("__DWARF", "__debug_info", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
249 Ctx->getMachOSection("__DWARF", "__debug_line", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
252 Ctx->getMachOSection("__DWARF", "__debug_line_str", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
255 Ctx->getMachOSection("__DWARF", "__debug_frame", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
258 Ctx->getMachOSection("__DWARF", "__debug_pubnames", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
261 Ctx->getMachOSection("__DWARF", "__debug_pubtypes", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
264 Ctx->getMachOSection("__DWARF", "__debug_gnu_pubn", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
267 Ctx->getMachOSection("__DWARF", "__debug_gnu_pubt", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
270 Ctx->getMachOSection("__DWARF", "__debug_str", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
273 Ctx->getMachOSection("__DWARF", "__debug_str_offs", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
276 Ctx->getMachOSection("__DWARF", "__debug_addr", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
279 Ctx->getMachOSection("__DWARF", "__debug_loc", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
282 Ctx->getMachOSection("__DWARF", "__debug_loclists", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
286 Ctx->getMachOSection("__DWARF", "__debug_aranges", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
289 Ctx->getMachOSection("__DWARF", "__debug_ranges", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
292 Ctx->getMachOSection("__DWARF", "__debug_rnglists", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
295 Ctx->getMachOSection("__DWARF", "__debug_macinfo", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
298 Ctx->getMachOSection("__DWARF", "__debug_macro", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
301 Ctx->getMachOSection("__DWARF", "__debug_inlined", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
304 Ctx->getMachOSection("__DWARF", "__debug_cu_index", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
307 Ctx->getMachOSection("__DWARF", "__debug_tu_index", MachO::S_ATTR_DEBUG, in initMachOMCObjectFileInfo()
309 StackMapSection = Ctx->getMachOSection("__LLVM_STACKMAPS", "__llvm_stackmaps", in initMachOMCObjectFileInfo()
312 FaultMapSection = Ctx->getMachOSection("__LLVM_FAULTMAPS", "__llvm_faultmaps", in initMachOMCObjectFileInfo()
315 RemarksSection = Ctx->getMachOSection( in initMachOMCObjectFileInfo()
321 if (!Ctx->getSwift5ReflectionSegmentName().empty()) { in initMachOMCObjectFileInfo()
325 Ctx->getMachOSection(Ctx->getSwift5ReflectionSegmentName().data(), \ in initMachOMCObjectFileInfo()
344 FDECFIEncoding = Ctx->getAsmInfo()->getCodePointerSize() == 4 in initELFMCObjectFileInfo()
380 BSSSection = Ctx->getELFSection(".bss", ELF::SHT_NOBITS, in initELFMCObjectFileInfo()
383 TextSection = Ctx->getELFSection(".text", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
386 DataSection = Ctx->getELFSection(".data", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
390 Ctx->getELFSection(".rodata", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in initELFMCObjectFileInfo()
393 Ctx->getELFSection(".tdata", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
396 TLSBSSSection = Ctx->getELFSection( in initELFMCObjectFileInfo()
399 DataRelROSection = Ctx->getELFSection(".data.rel.ro", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
403 Ctx->getELFSection(".rodata.cst4", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
407 Ctx->getELFSection(".rodata.cst8", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
411 Ctx->getELFSection(".rodata.cst16", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
415 Ctx->getELFSection(".rodata.cst32", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
424 LSDASection = Ctx->getELFSection(".gcc_except_table", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
440 Ctx->getELFSection(".debug_abbrev", DebugSecType, 0); in initELFMCObjectFileInfo()
441 DwarfInfoSection = Ctx->getELFSection(".debug_info", DebugSecType, 0); in initELFMCObjectFileInfo()
442 DwarfLineSection = Ctx->getELFSection(".debug_line", DebugSecType, 0); in initELFMCObjectFileInfo()
444 Ctx->getELFSection(".debug_line_str", DebugSecType, in initELFMCObjectFileInfo()
446 DwarfFrameSection = Ctx->getELFSection(".debug_frame", DebugSecType, 0); in initELFMCObjectFileInfo()
448 Ctx->getELFSection(".debug_pubnames", DebugSecType, 0); in initELFMCObjectFileInfo()
450 Ctx->getELFSection(".debug_pubtypes", DebugSecType, 0); in initELFMCObjectFileInfo()
452 Ctx->getELFSection(".debug_gnu_pubnames", DebugSecType, 0); in initELFMCObjectFileInfo()
454 Ctx->getELFSection(".debug_gnu_pubtypes", DebugSecType, 0); in initELFMCObjectFileInfo()
456 Ctx->getELFSection(".debug_str", DebugSecType, in initELFMCObjectFileInfo()
458 DwarfLocSection = Ctx->getELFSection(".debug_loc", DebugSecType, 0); in initELFMCObjectFileInfo()
460 Ctx->getELFSection(".debug_aranges", DebugSecType, 0); in initELFMCObjectFileInfo()
462 Ctx->getELFSection(".debug_ranges", DebugSecType, 0); in initELFMCObjectFileInfo()
464 Ctx->getELFSection(".debug_macinfo", DebugSecType, 0); in initELFMCObjectFileInfo()
465 DwarfMacroSection = Ctx->getELFSection(".debug_macro", DebugSecType, 0); in initELFMCObjectFileInfo()
471 Ctx->getELFSection(".debug_names", ELF::SHT_PROGBITS, 0); in initELFMCObjectFileInfo()
473 Ctx->getELFSection(".apple_names", ELF::SHT_PROGBITS, 0); in initELFMCObjectFileInfo()
475 Ctx->getELFSection(".apple_objc", ELF::SHT_PROGBITS, 0); in initELFMCObjectFileInfo()
477 Ctx->getELFSection(".apple_namespaces", ELF::SHT_PROGBITS, 0); in initELFMCObjectFileInfo()
479 Ctx->getELFSection(".apple_types", ELF::SHT_PROGBITS, 0); in initELFMCObjectFileInfo()
483 Ctx->getELFSection(".debug_str_offsets", DebugSecType, 0); in initELFMCObjectFileInfo()
484 DwarfAddrSection = Ctx->getELFSection(".debug_addr", DebugSecType, 0); in initELFMCObjectFileInfo()
485 DwarfRnglistsSection = Ctx->getELFSection(".debug_rnglists", DebugSecType, 0); in initELFMCObjectFileInfo()
486 DwarfLoclistsSection = Ctx->getELFSection(".debug_loclists", DebugSecType, 0); in initELFMCObjectFileInfo()
490 Ctx->getELFSection(".debug_info.dwo", DebugSecType, ELF::SHF_EXCLUDE); in initELFMCObjectFileInfo()
492 Ctx->getELFSection(".debug_types.dwo", DebugSecType, ELF::SHF_EXCLUDE); in initELFMCObjectFileInfo()
494 Ctx->getELFSection(".debug_abbrev.dwo", DebugSecType, ELF::SHF_EXCLUDE); in initELFMCObjectFileInfo()
495 DwarfStrDWOSection = Ctx->getELFSection( in initELFMCObjectFileInfo()
499 Ctx->getELFSection(".debug_line.dwo", DebugSecType, ELF::SHF_EXCLUDE); in initELFMCObjectFileInfo()
501 Ctx->getELFSection(".debug_loc.dwo", DebugSecType, ELF::SHF_EXCLUDE); in initELFMCObjectFileInfo()
502 DwarfStrOffDWOSection = Ctx->getELFSection(".debug_str_offsets.dwo", in initELFMCObjectFileInfo()
505 Ctx->getELFSection(".debug_rnglists.dwo", DebugSecType, ELF::SHF_EXCLUDE); in initELFMCObjectFileInfo()
507 Ctx->getELFSection(".debug_macinfo.dwo", DebugSecType, ELF::SHF_EXCLUDE); in initELFMCObjectFileInfo()
509 Ctx->getELFSection(".debug_macro.dwo", DebugSecType, ELF::SHF_EXCLUDE); in initELFMCObjectFileInfo()
512 Ctx->getELFSection(".debug_loclists.dwo", DebugSecType, ELF::SHF_EXCLUDE); in initELFMCObjectFileInfo()
516 Ctx->getELFSection(".debug_cu_index", DebugSecType, 0); in initELFMCObjectFileInfo()
518 Ctx->getELFSection(".debug_tu_index", DebugSecType, 0); in initELFMCObjectFileInfo()
521 Ctx->getELFSection(".llvm_stackmaps", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in initELFMCObjectFileInfo()
524 Ctx->getELFSection(".llvm_faultmaps", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in initELFMCObjectFileInfo()
527 Ctx->getELFSection(".eh_frame", EHSectionType, EHSectionFlags); in initELFMCObjectFileInfo()
529 StackSizesSection = Ctx->getELFSection(".stack_sizes", ELF::SHT_PROGBITS, 0); in initELFMCObjectFileInfo()
531 PseudoProbeSection = Ctx->getELFSection(".pseudo_probe", DebugSecType, 0); in initELFMCObjectFileInfo()
533 Ctx->getELFSection(".pseudo_probe_desc", DebugSecType, 0); in initELFMCObjectFileInfo()
538 Ctx->getGOFFSection(".text", SectionKind::getText(), nullptr, nullptr); in initGOFFMCObjectFileInfo()
540 Ctx->getGOFFSection(".bss", SectionKind::getBSS(), nullptr, nullptr); in initGOFFMCObjectFileInfo()
542 Ctx->getGOFFSection(".ppa1", SectionKind::getMetadata(), TextSection, in initGOFFMCObjectFileInfo()
543 MCConstantExpr::create(GOFF::SK_PPA1, *Ctx)); in initGOFFMCObjectFileInfo()
548 Ctx->getCOFFSection(".eh_frame", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | in initCOFFMCObjectFileInfo()
560 BSSSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
564 TextSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
570 DataSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
574 ReadOnlySection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
583 LSDASection = Ctx->getCOFFSection(".gcc_except_table", in initCOFFMCObjectFileInfo()
591 Ctx->getCOFFSection(".debug$S", (COFF::IMAGE_SCN_MEM_DISCARDABLE | in initCOFFMCObjectFileInfo()
596 Ctx->getCOFFSection(".debug$T", (COFF::IMAGE_SCN_MEM_DISCARDABLE | in initCOFFMCObjectFileInfo()
600 COFFGlobalTypeHashesSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
606 DwarfAbbrevSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
611 DwarfInfoSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
616 DwarfLineSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
621 DwarfLineStrSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
626 DwarfFrameSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
631 DwarfPubNamesSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
636 DwarfPubTypesSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
641 DwarfGnuPubNamesSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
646 DwarfGnuPubTypesSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
651 DwarfStrSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
656 DwarfStrOffSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
661 DwarfLocSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
666 DwarfLoclistsSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
671 DwarfARangesSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
676 DwarfRangesSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
681 DwarfRnglistsSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
686 DwarfMacinfoSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
691 DwarfMacroSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
696 DwarfMacinfoDWOSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
701 DwarfMacroDWOSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
706 DwarfInfoDWOSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
711 DwarfTypesDWOSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
716 DwarfAbbrevDWOSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
721 DwarfStrDWOSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
726 DwarfLineDWOSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
731 DwarfLocDWOSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
736 DwarfStrOffDWOSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
741 DwarfAddrSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
746 DwarfCUIndexSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
751 DwarfTUIndexSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
756 DwarfDebugNamesSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
761 DwarfAccelNamesSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
766 DwarfAccelNamespaceSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
771 DwarfAccelTypesSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
776 DwarfAccelObjCSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
782 DrectveSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
786 PDataSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
790 XDataSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
794 SXDataSection = Ctx->getCOFFSection(".sxdata", COFF::IMAGE_SCN_LNK_INFO, in initCOFFMCObjectFileInfo()
797 GEHContSection = Ctx->getCOFFSection(".gehcont$y", in initCOFFMCObjectFileInfo()
802 GFIDsSection = Ctx->getCOFFSection(".gfids$y", in initCOFFMCObjectFileInfo()
807 GIATsSection = Ctx->getCOFFSection(".giats$y", in initCOFFMCObjectFileInfo()
812 GLJMPSection = Ctx->getCOFFSection(".gljmp$y", in initCOFFMCObjectFileInfo()
817 TLSDataSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
822 StackMapSection = Ctx->getCOFFSection(".llvm_stackmaps", in initCOFFMCObjectFileInfo()
830 TextSection = Ctx->getSPIRVSection(); in initSPIRVMCObjectFileInfo()
834 TextSection = Ctx->getWasmSection(".text", SectionKind::getText()); in initWasmMCObjectFileInfo()
835 DataSection = Ctx->getWasmSection(".data", SectionKind::getData()); in initWasmMCObjectFileInfo()
838 Ctx->getWasmSection(".debug_line", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
840 Ctx->getWasmSection(".debug_line_str", SectionKind::getMetadata(), in initWasmMCObjectFileInfo()
842 DwarfStrSection = Ctx->getWasmSection( in initWasmMCObjectFileInfo()
845 Ctx->getWasmSection(".debug_loc", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
847 Ctx->getWasmSection(".debug_abbrev", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
848 DwarfARangesSection = Ctx->getWasmSection(".debug_aranges", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
850 Ctx->getWasmSection(".debug_ranges", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
852 Ctx->getWasmSection(".debug_macinfo", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
854 Ctx->getWasmSection(".debug_macro", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
855 DwarfCUIndexSection = Ctx->getWasmSection(".debug_cu_index", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
856 DwarfTUIndexSection = Ctx->getWasmSection(".debug_tu_index", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
858 Ctx->getWasmSection(".debug_info", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
859 DwarfFrameSection = Ctx->getWasmSection(".debug_frame", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
860 DwarfPubNamesSection = Ctx->getWasmSection(".debug_pubnames", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
861 DwarfPubTypesSection = Ctx->getWasmSection(".debug_pubtypes", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
863 Ctx->getWasmSection(".debug_gnu_pubnames", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
865 Ctx->getWasmSection(".debug_gnu_pubtypes", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
868 Ctx->getWasmSection(".debug_names", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
870 Ctx->getWasmSection(".debug_str_offsets", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
872 Ctx->getWasmSection(".debug_addr", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
874 Ctx->getWasmSection(".debug_rnglists", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
876 Ctx->getWasmSection(".debug_loclists", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
880 Ctx->getWasmSection(".debug_info.dwo", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
882 Ctx->getWasmSection(".debug_types.dwo", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
884 Ctx->getWasmSection(".debug_abbrev.dwo", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
886 Ctx->getWasmSection(".debug_str.dwo", SectionKind::getMetadata(), in initWasmMCObjectFileInfo()
889 Ctx->getWasmSection(".debug_line.dwo", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
891 Ctx->getWasmSection(".debug_loc.dwo", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
893 Ctx->getWasmSection(".debug_str_offsets.dwo", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
895 Ctx->getWasmSection(".debug_rnglists.dwo", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
897 Ctx->getWasmSection(".debug_macinfo.dwo", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
899 Ctx->getWasmSection(".debug_macro.dwo", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
902 Ctx->getWasmSection(".debug_loclists.dwo", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
906 Ctx->getWasmSection(".debug_cu_index", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
908 Ctx->getWasmSection(".debug_tu_index", SectionKind::getMetadata()); in initWasmMCObjectFileInfo()
913 LSDASection = Ctx->getWasmSection(".rodata.gcc_except_table", in initWasmMCObjectFileInfo()
924 TextSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
929 DataSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
934 ReadOnlySection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
940 ReadOnly8Section = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
946 ReadOnly16Section = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
952 TLSDataSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
957 TOCBaseSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
965 LSDASection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
970 CompactUnwindSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
978 DwarfAbbrevSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
982 DwarfInfoSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
986 DwarfLineSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
990 DwarfFrameSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
994 DwarfPubNamesSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
998 DwarfPubTypesSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
1002 DwarfStrSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
1006 DwarfLocSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
1010 DwarfARangesSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
1014 DwarfRangesSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
1018 DwarfMacinfoSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
1025 TextSection = Ctx->getDXContainerSection("DXBC", SectionKind::getText()); in initDXContainerObjectFileInfo()
1033 Ctx = &MCCtx; in initMCObjectFileInfo()
1052 Triple TheTriple = Ctx->getTargetTriple(); in initMCObjectFileInfo()
1053 switch (Ctx->getObjectFileType()) { in initMCObjectFileInfo()
1083 switch (Ctx->getTargetTriple().getObjectFormat()) { in getDwarfComdatSection()
1085 return Ctx->getELFSection(Name, ELF::SHT_PROGBITS, ELF::SHF_GROUP, 0, in getDwarfComdatSection()
1088 return Ctx->getWasmSection(Name, SectionKind::getMetadata(), 0, in getDwarfComdatSection()
1106 if (Ctx->getObjectFileType() != MCContext::IsELF) in getStackSizesSection()
1117 return Ctx->getELFSection(".stack_sizes", ELF::SHT_PROGBITS, Flags, 0, in getStackSizesSection()
1124 if (Ctx->getObjectFileType() != MCContext::IsELF) in getBBAddrMapSection()
1137 return Ctx->getELFSection(".llvm_bb_addr_map", ELF::SHT_LLVM_BB_ADDR_MAP, in getBBAddrMapSection()
1144 if (Ctx->getObjectFileType() == MCContext::IsELF) { in getPseudoProbeSection()
1150 return Ctx->getELFSection(S->getName(), S->getType(), Flags, in getPseudoProbeSection()
1160 if (Ctx->getObjectFileType() == MCContext::IsELF) { in getPseudoProbeDescSection()
1170 if (Ctx->getTargetTriple().supportsCOMDAT() && !FuncName.empty()) { in getPseudoProbeDescSection()
1173 return Ctx->getELFSection(S->getName(), S->getType(), Flags, in getPseudoProbeDescSection()