Lines Matching refs:Ctx

66   EHFrameSection = Ctx->getMachOSection(
77 switch (Ctx->emitDwarfUnwindInfo()) {
93 = Ctx->getMachOSection("__TEXT", "__text",
97 = Ctx->getMachOSection("__DATA", "__data", 0, SectionKind::getData());
103 = Ctx->getMachOSection("__DATA", "__thread_data",
107 = Ctx->getMachOSection("__DATA", "__thread_bss",
113 = Ctx->getMachOSection("__DATA", "__thread_vars",
117 TLSThreadInitSection = Ctx->getMachOSection(
122 = Ctx->getMachOSection("__TEXT", "__cstring",
126 = Ctx->getMachOSection("__TEXT","__ustring", 0,
129 = Ctx->getMachOSection("__TEXT", "__literal4",
133 = Ctx->getMachOSection("__TEXT", "__literal8",
138 = Ctx->getMachOSection("__TEXT", "__literal16",
143 = Ctx->getMachOSection("__TEXT", "__const", 0,
155 = Ctx->getMachOSection("__DATA", "__const", 0,
160 = Ctx->getMachOSection("__TEXT", "__textcoal_nt",
165 = Ctx->getMachOSection("__TEXT", "__const_coal",
168 DataCoalSection = Ctx->getMachOSection(
179 = Ctx->getMachOSection("__DATA","__common",
183 = Ctx->getMachOSection("__DATA","__bss", MachO::S_ZEROFILL,
188 = Ctx->getMachOSection("__DATA", "__la_symbol_ptr",
192 = Ctx->getMachOSection("__DATA", "__nl_symbol_ptr",
197 = Ctx->getMachOSection("__DATA", "__thread_ptr",
201 AddrSigSection = Ctx->getMachOSection("__DATA", "__llvm_addrsig", 0,
205 LSDASection = Ctx->getMachOSection("__TEXT", "__gcc_except_tab", 0,
214 Ctx->getMachOSection("__LD", "__compact_unwind", MachO::S_ATTR_DEBUG,
227 Ctx->getMachOSection("__DWARF", "__debug_names", MachO::S_ATTR_DEBUG,
230 Ctx->getMachOSection("__DWARF", "__apple_names", MachO::S_ATTR_DEBUG,
233 Ctx->getMachOSection("__DWARF", "__apple_objc", MachO::S_ATTR_DEBUG,
237 Ctx->getMachOSection("__DWARF", "__apple_namespac", MachO::S_ATTR_DEBUG,
240 Ctx->getMachOSection("__DWARF", "__apple_types", MachO::S_ATTR_DEBUG,
244 Ctx->getMachOSection("__DWARF", "__swift_ast", MachO::S_ATTR_DEBUG,
248 Ctx->getMachOSection("__DWARF", "__debug_abbrev", MachO::S_ATTR_DEBUG,
251 Ctx->getMachOSection("__DWARF", "__debug_info", MachO::S_ATTR_DEBUG,
254 Ctx->getMachOSection("__DWARF", "__debug_line", MachO::S_ATTR_DEBUG,
257 Ctx->getMachOSection("__DWARF", "__debug_line_str", MachO::S_ATTR_DEBUG,
260 Ctx->getMachOSection("__DWARF", "__debug_frame", MachO::S_ATTR_DEBUG,
263 Ctx->getMachOSection("__DWARF", "__debug_pubnames", MachO::S_ATTR_DEBUG,
266 Ctx->getMachOSection("__DWARF", "__debug_pubtypes", MachO::S_ATTR_DEBUG,
269 Ctx->getMachOSection("__DWARF", "__debug_gnu_pubn", MachO::S_ATTR_DEBUG,
272 Ctx->getMachOSection("__DWARF", "__debug_gnu_pubt", MachO::S_ATTR_DEBUG,
275 Ctx->getMachOSection("__DWARF", "__debug_str", MachO::S_ATTR_DEBUG,
278 Ctx->getMachOSection("__DWARF", "__debug_str_offs", MachO::S_ATTR_DEBUG,
281 Ctx->getMachOSection("__DWARF", "__debug_addr", MachO::S_ATTR_DEBUG,
284 Ctx->getMachOSection("__DWARF", "__debug_loc", MachO::S_ATTR_DEBUG,
287 Ctx->getMachOSection("__DWARF", "__debug_loclists", MachO::S_ATTR_DEBUG,
291 Ctx->getMachOSection("__DWARF", "__debug_aranges", MachO::S_ATTR_DEBUG,
294 Ctx->getMachOSection("__DWARF", "__debug_ranges", MachO::S_ATTR_DEBUG,
297 Ctx->getMachOSection("__DWARF", "__debug_rnglists", MachO::S_ATTR_DEBUG,
300 Ctx->getMachOSection("__DWARF", "__debug_macinfo", MachO::S_ATTR_DEBUG,
303 Ctx->getMachOSection("__DWARF", "__debug_macro", MachO::S_ATTR_DEBUG,
306 Ctx->getMachOSection("__DWARF", "__debug_inlined", MachO::S_ATTR_DEBUG,
309 Ctx->getMachOSection("__DWARF", "__debug_cu_index", MachO::S_ATTR_DEBUG,
312 Ctx->getMachOSection("__DWARF", "__debug_tu_index", MachO::S_ATTR_DEBUG,
314 StackMapSection = Ctx->getMachOSection("__LLVM_STACKMAPS", "__llvm_stackmaps",
317 FaultMapSection = Ctx->getMachOSection("__LLVM_FAULTMAPS", "__llvm_faultmaps",
320 RemarksSection = Ctx->getMachOSection(
326 if (!Ctx->getSwift5ReflectionSegmentName().empty()) {
330 Ctx->getMachOSection(Ctx->getSwift5ReflectionSegmentName().data(), \
351 FDECFIEncoding = Ctx->getAsmInfo()->getCodePointerSize() == 4
390 BSSSection = Ctx->getELFSection(".bss", ELF::SHT_NOBITS,
393 TextSection = Ctx->getELFSection(".text", ELF::SHT_PROGBITS,
396 DataSection = Ctx->getELFSection(".data", ELF::SHT_PROGBITS,
400 Ctx->getELFSection(".rodata", ELF::SHT_PROGBITS, ELF::SHF_ALLOC);
403 Ctx->getELFSection(".tdata", ELF::SHT_PROGBITS,
406 TLSBSSSection = Ctx->getELFSection(
409 DataRelROSection = Ctx->getELFSection(".data.rel.ro", ELF::SHT_PROGBITS,
413 Ctx->getELFSection(".rodata.cst4", ELF::SHT_PROGBITS,
417 Ctx->getELFSection(".rodata.cst8", ELF::SHT_PROGBITS,
421 Ctx->getELFSection(".rodata.cst16", ELF::SHT_PROGBITS,
425 Ctx->getELFSection(".rodata.cst32", ELF::SHT_PROGBITS,
434 LSDASection = Ctx->getELFSection(".gcc_except_table", ELF::SHT_PROGBITS,
450 Ctx->getELFSection(".debug_abbrev", DebugSecType, 0);
451 DwarfInfoSection = Ctx->getELFSection(".debug_info", DebugSecType, 0);
452 DwarfLineSection = Ctx->getELFSection(".debug_line", DebugSecType, 0);
454 Ctx->getELFSection(".debug_line_str", DebugSecType,
456 DwarfFrameSection = Ctx->getELFSection(".debug_frame", DebugSecType, 0);
458 Ctx->getELFSection(".debug_pubnames", DebugSecType, 0);
460 Ctx->getELFSection(".debug_pubtypes", DebugSecType, 0);
462 Ctx->getELFSection(".debug_gnu_pubnames", DebugSecType, 0);
464 Ctx->getELFSection(".debug_gnu_pubtypes", DebugSecType, 0);
466 Ctx->getELFSection(".debug_str", DebugSecType,
468 DwarfLocSection = Ctx->getELFSection(".debug_loc", DebugSecType, 0);
470 Ctx->getELFSection(".debug_aranges", DebugSecType, 0);
472 Ctx->getELFSection(".debug_ranges", DebugSecType, 0);
474 Ctx->getELFSection(".debug_macinfo", DebugSecType, 0);
475 DwarfMacroSection = Ctx->getELFSection(".debug_macro", DebugSecType, 0);
481 Ctx->getELFSection(".debug_names", ELF::SHT_PROGBITS, 0);
483 Ctx->getELFSection(".apple_names", ELF::SHT_PROGBITS, 0);
485 Ctx->getELFSection(".apple_objc", ELF::SHT_PROGBITS, 0);
487 Ctx->getELFSection(".apple_namespaces", ELF::SHT_PROGBITS, 0);
489 Ctx->getELFSection(".apple_types", ELF::SHT_PROGBITS, 0);
493 Ctx->getELFSection(".debug_str_offsets", DebugSecType, 0);
494 DwarfAddrSection = Ctx->getELFSection(".debug_addr", DebugSecType, 0);
495 DwarfRnglistsSection = Ctx->getELFSection(".debug_rnglists", DebugSecType, 0);
496 DwarfLoclistsSection = Ctx->getELFSection(".debug_loclists", DebugSecType, 0);
500 Ctx->getELFSection(".debug_info.dwo", DebugSecType, ELF::SHF_EXCLUDE);
502 Ctx->getELFSection(".debug_types.dwo", DebugSecType, ELF::SHF_EXCLUDE);
504 Ctx->getELFSection(".debug_abbrev.dwo", DebugSecType, ELF::SHF_EXCLUDE);
505 DwarfStrDWOSection = Ctx->getELFSection(
509 Ctx->getELFSection(".debug_line.dwo", DebugSecType, ELF::SHF_EXCLUDE);
511 Ctx->getELFSection(".debug_loc.dwo", DebugSecType, ELF::SHF_EXCLUDE);
512 DwarfStrOffDWOSection = Ctx->getELFSection(".debug_str_offsets.dwo",
515 Ctx->getELFSection(".debug_rnglists.dwo", DebugSecType, ELF::SHF_EXCLUDE);
517 Ctx->getELFSection(".debug_macinfo.dwo", DebugSecType, ELF::SHF_EXCLUDE);
519 Ctx->getELFSection(".debug_macro.dwo", DebugSecType, ELF::SHF_EXCLUDE);
522 Ctx->getELFSection(".debug_loclists.dwo", DebugSecType, ELF::SHF_EXCLUDE);
526 Ctx->getELFSection(".debug_cu_index", DebugSecType, 0);
528 Ctx->getELFSection(".debug_tu_index", DebugSecType, 0);
531 Ctx->getELFSection(".llvm_stackmaps", ELF::SHT_PROGBITS, ELF::SHF_ALLOC);
534 Ctx->getELFSection(".llvm_faultmaps", ELF::SHT_PROGBITS, ELF::SHF_ALLOC);
537 Ctx->getELFSection(".eh_frame", EHSectionType, EHSectionFlags);
539 StackSizesSection = Ctx->getELFSection(".stack_sizes", ELF::SHT_PROGBITS, 0);
541 PseudoProbeSection = Ctx->getELFSection(".pseudo_probe", DebugSecType, 0);
543 Ctx->getELFSection(".pseudo_probe_desc", DebugSecType, 0);
545 LLVMStatsSection = Ctx->getELFSection(".llvm_stats", ELF::SHT_PROGBITS, 0);
549 TextSection = Ctx->getGOFFSection(".text", SectionKind::getText(), nullptr);
550 BSSSection = Ctx->getGOFFSection(".bss", SectionKind::getBSS(), nullptr);
551 PPA1Section = Ctx->getGOFFSection(".ppa1", SectionKind::getMetadata(),
553 PPA2Section = Ctx->getGOFFSection(".ppa2", SectionKind::getMetadata(),
557 Ctx->getGOFFSection(".ppa2list", SectionKind::getData(), nullptr);
559 ADASection = Ctx->getGOFFSection(".ada", SectionKind::getData(), nullptr);
560 IDRLSection = Ctx->getGOFFSection("B_IDRL", SectionKind::getData(), nullptr);
565 Ctx->getCOFFSection(".eh_frame", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA |
574 BSSSection = Ctx->getCOFFSection(
577 TextSection = Ctx->getCOFFSection(
582 DataSection = Ctx->getCOFFSection(
586 Ctx->getCOFFSection(".rdata", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA |
594 LSDASection = Ctx->getCOFFSection(".gcc_except_table",
601 Ctx->getCOFFSection(".impcall", COFF::IMAGE_SCN_LNK_INFO);
606 Ctx->getCOFFSection(".debug$S", (COFF::IMAGE_SCN_MEM_DISCARDABLE |
610 Ctx->getCOFFSection(".debug$T", (COFF::IMAGE_SCN_MEM_DISCARDABLE |
614 Ctx->getCOFFSection(".debug$H", (COFF::IMAGE_SCN_MEM_DISCARDABLE |
618 DwarfAbbrevSection = Ctx->getCOFFSection(
622 DwarfInfoSection = Ctx->getCOFFSection(
626 DwarfLineSection = Ctx->getCOFFSection(
630 DwarfLineStrSection = Ctx->getCOFFSection(
634 DwarfFrameSection = Ctx->getCOFFSection(
638 DwarfPubNamesSection = Ctx->getCOFFSection(
642 DwarfPubTypesSection = Ctx->getCOFFSection(
646 DwarfGnuPubNamesSection = Ctx->getCOFFSection(
650 DwarfGnuPubTypesSection = Ctx->getCOFFSection(
654 DwarfStrSection = Ctx->getCOFFSection(
658 DwarfStrOffSection = Ctx->getCOFFSection(
662 DwarfLocSection = Ctx->getCOFFSection(
666 DwarfLoclistsSection = Ctx->getCOFFSection(
670 DwarfARangesSection = Ctx->getCOFFSection(
674 DwarfRangesSection = Ctx->getCOFFSection(
678 DwarfRnglistsSection = Ctx->getCOFFSection(
682 DwarfMacinfoSection = Ctx->getCOFFSection(
686 DwarfMacroSection = Ctx->getCOFFSection(
690 DwarfMacinfoDWOSection = Ctx->getCOFFSection(
694 DwarfMacroDWOSection = Ctx->getCOFFSection(
698 DwarfInfoDWOSection = Ctx->getCOFFSection(
702 DwarfTypesDWOSection = Ctx->getCOFFSection(
706 DwarfAbbrevDWOSection = Ctx->getCOFFSection(
710 DwarfStrDWOSection = Ctx->getCOFFSection(
714 DwarfLineDWOSection = Ctx->getCOFFSection(
718 DwarfLocDWOSection = Ctx->getCOFFSection(
722 DwarfStrOffDWOSection = Ctx->getCOFFSection(
726 DwarfAddrSection = Ctx->getCOFFSection(
730 DwarfCUIndexSection = Ctx->getCOFFSection(
734 DwarfTUIndexSection = Ctx->getCOFFSection(
738 DwarfDebugNamesSection = Ctx->getCOFFSection(
742 DwarfAccelNamesSection = Ctx->getCOFFSection(
746 DwarfAccelNamespaceSection = Ctx->getCOFFSection(
750 DwarfAccelTypesSection = Ctx->getCOFFSection(
754 DwarfAccelObjCSection = Ctx->getCOFFSection(
759 DrectveSection = Ctx->getCOFFSection(
763 Ctx->getCOFFSection(".pdata", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA |
767 Ctx->getCOFFSection(".xdata", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA |
770 SXDataSection = Ctx->getCOFFSection(".sxdata", COFF::IMAGE_SCN_LNK_INFO);
773 Ctx->getCOFFSection(".gehcont$y", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA |
777 Ctx->getCOFFSection(".gfids$y", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA |
781 Ctx->getCOFFSection(".giats$y", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA |
785 Ctx->getCOFFSection(".gljmp$y", COFF::IMAGE_SCN_CNT_INITIALIZED_DATA |
788 TLSDataSection = Ctx->getCOFFSection(
792 StackMapSection = Ctx->getCOFFSection(".llvm_stackmaps",
799 TextSection = Ctx->getSPIRVSection();
803 TextSection = Ctx->getWasmSection(".text", SectionKind::getText());
804 DataSection = Ctx->getWasmSection(".data", SectionKind::getData());
807 Ctx->getWasmSection(".debug_line", SectionKind::getMetadata());
809 Ctx->getWasmSection(".debug_line_str", SectionKind::getMetadata(),
811 DwarfStrSection = Ctx->getWasmSection(
814 Ctx->getWasmSection(".debug_loc", SectionKind::getMetadata());
816 Ctx->getWasmSection(".debug_abbrev", SectionKind::getMetadata());
817 DwarfARangesSection = Ctx->getWasmSection(".debug_aranges", SectionKind::getMetadata());
819 Ctx->getWasmSection(".debug_ranges", SectionKind::getMetadata());
821 Ctx->getWasmSection(".debug_macinfo", SectionKind::getMetadata());
823 Ctx->getWasmSection(".debug_macro", SectionKind::getMetadata());
824 DwarfCUIndexSection = Ctx->getWasmSection(".debug_cu_index", SectionKind::getMetadata());
825 DwarfTUIndexSection = Ctx->getWasmSection(".debug_tu_index", SectionKind::getMetadata());
827 Ctx->getWasmSection(".debug_info", SectionKind::getMetadata());
828 DwarfFrameSection = Ctx->getWasmSection(".debug_frame", SectionKind::getMetadata());
829 DwarfPubNamesSection = Ctx->getWasmSection(".debug_pubnames", SectionKind::getMetadata());
830 DwarfPubTypesSection = Ctx->getWasmSection(".debug_pubtypes", SectionKind::getMetadata());
832 Ctx->getWasmSection(".debug_gnu_pubnames", SectionKind::getMetadata());
834 Ctx->getWasmSection(".debug_gnu_pubtypes", SectionKind::getMetadata());
837 Ctx->getWasmSection(".debug_names", SectionKind::getMetadata());
839 Ctx->getWasmSection(".debug_str_offsets", SectionKind::getMetadata());
841 Ctx->getWasmSection(".debug_addr", SectionKind::getMetadata());
843 Ctx->getWasmSection(".debug_rnglists", SectionKind::getMetadata());
845 Ctx->getWasmSection(".debug_loclists", SectionKind::getMetadata());
849 Ctx->getWasmSection(".debug_info.dwo", SectionKind::getMetadata());
851 Ctx->getWasmSection(".debug_types.dwo", SectionKind::getMetadata());
853 Ctx->getWasmSection(".debug_abbrev.dwo", SectionKind::getMetadata());
855 Ctx->getWasmSection(".debug_str.dwo", SectionKind::getMetadata(),
858 Ctx->getWasmSection(".debug_line.dwo", SectionKind::getMetadata());
860 Ctx->getWasmSection(".debug_loc.dwo", SectionKind::getMetadata());
862 Ctx->getWasmSection(".debug_str_offsets.dwo", SectionKind::getMetadata());
864 Ctx->getWasmSection(".debug_rnglists.dwo", SectionKind::getMetadata());
866 Ctx->getWasmSection(".debug_macinfo.dwo", SectionKind::getMetadata());
868 Ctx->getWasmSection(".debug_macro.dwo", SectionKind::getMetadata());
871 Ctx->getWasmSection(".debug_loclists.dwo", SectionKind::getMetadata());
875 Ctx->getWasmSection(".debug_cu_index", SectionKind::getMetadata());
877 Ctx->getWasmSection(".debug_tu_index", SectionKind::getMetadata());
882 LSDASection = Ctx->getWasmSection(".rodata.gcc_except_table",
893 TextSection = Ctx->getXCOFFSection(
904 DataSection = Ctx->getXCOFFSection(
909 ReadOnlySection = Ctx->getXCOFFSection(
915 ReadOnly8Section = Ctx->getXCOFFSection(
921 ReadOnly16Section = Ctx->getXCOFFSection(
927 TLSDataSection = Ctx->getXCOFFSection(
932 TOCBaseSection = Ctx->getXCOFFSection(
940 LSDASection = Ctx->getXCOFFSection(
945 CompactUnwindSection = Ctx->getXCOFFSection(
953 DwarfAbbrevSection = Ctx->getXCOFFSection(
958 DwarfInfoSection = Ctx->getXCOFFSection(
962 DwarfLineSection = Ctx->getXCOFFSection(
966 DwarfFrameSection = Ctx->getXCOFFSection(
971 DwarfPubNamesSection = Ctx->getXCOFFSection(
976 DwarfPubTypesSection = Ctx->getXCOFFSection(
981 DwarfStrSection = Ctx->getXCOFFSection(
985 DwarfLocSection = Ctx->getXCOFFSection(
989 DwarfARangesSection = Ctx->getXCOFFSection(
994 DwarfRangesSection = Ctx->getXCOFFSection(
999 DwarfMacinfoSection = Ctx->getXCOFFSection(
1006 TextSection = Ctx->getDXContainerSection("DXBC", SectionKind::getText());
1014 Ctx = &MCCtx;
1032 const Triple &TheTriple = Ctx->getTargetTriple();
1033 switch (Ctx->getObjectFileType()) {
1063 switch (Ctx->getTargetTriple().getObjectFormat()) {
1065 return Ctx->getELFSection(Name, ELF::SHT_PROGBITS, ELF::SHF_GROUP, 0,
1068 return Ctx->getWasmSection(Name, SectionKind::getMetadata(), 0,
1086 if ((Ctx->getObjectFileType() != MCContext::IsELF) ||
1087 Ctx->getTargetTriple().isPS4())
1098 return Ctx->getELFSection(".stack_sizes", ELF::SHT_PROGBITS, Flags, 0,
1105 if (Ctx->getObjectFileType() != MCContext::IsELF)
1118 return Ctx->getELFSection(".llvm_bb_addr_map", ELF::SHT_LLVM_BB_ADDR_MAP,
1125 if (Ctx->getObjectFileType() != MCContext::IsELF)
1136 return Ctx->getELFSection(".kcfi_traps", ELF::SHT_PROGBITS, Flags, 0,
1144 if (Ctx->getObjectFileType() != MCContext::IsELF)
1155 return Ctx->getELFSection(PseudoProbeSection->getName(), ELF::SHT_PROGBITS,
1162 if (Ctx->getObjectFileType() == MCContext::IsELF) {
1172 if (Ctx->getTargetTriple().supportsCOMDAT() && !FuncName.empty()) {
1175 return Ctx->getELFSection(S->getName(), S->getType(), Flags,
1190 if (Ctx->getObjectFileType() != MCContext::IsELF)
1205 return Ctx->getELFSection(Name, ELF::SHT_PROGBITS, Flags, 0, GroupName, true,