Home
last modified time | relevance | path

Searched refs:InitSection (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Shared/
H A DMachOObjectFormat.cpp66 for (auto &InitSection : MachOInitSectionNames) { in isMachOInitializerSection() local
69 assert(InitSection[6] == ',' && "Init section seg name has length != 6"); in isMachOInitializerSection()
70 if (InitSection.starts_with(SegName) && InitSection.substr(7) == SecName) in isMachOInitializerSection()
H A DObjectFormats.cpp42 for (StringRef InitSection : ELFInitSectionNames) { in isELFInitializerSection() local
44 if (Name.consume_front(InitSection) && (Name.empty() || Name[0] == '.')) in isELFInitializerSection()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DXCOFFEmitter.cpp109 for (XCOFFYAML::Section &InitSection : InitSections) { in initRelocations()
110 if (!InitSection.Relocations.empty()) { in initRelocations()
113 uint64_t UsedSize = RelSize * InitSection.Relocations.size(); in initRelocations()
117 if (!InitSection.NumberOfRelocations) in initRelocations()
118 InitSection.NumberOfRelocations = InitSection.Relocations.size(); in initRelocations()
121 if (InitSection.FileOffsetToRelocations) { in initRelocations()
122 if (CurrentOffset > InitSection.FileOffsetToRelocations) { in initRelocations()
123 reportOverwrite(CurrentOffset, InitSection.FileOffsetToRelocations, in initRelocations()
125 InitSection.SectionName + " section"); in initRelocations()
128 CurrentOffset = InitSection.FileOffsetToRelocations; in initRelocations()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DCOFFPlatform.cpp844 for (auto &InitSection : G.sections()) { in preserveInitializerSections() local
846 if (!isCOFFInitializerSection(InitSection.getName()) || in preserveInitializerSections()
847 InitSection.empty()) in preserveInitializerSections()
853 auto &B = **InitSection.blocks().begin(); in preserveInitializerSections()
860 for (auto *B : InitSection.blocks()) { in preserveInitializerSections()
H A DELFNixPlatform.cpp871 for (auto &InitSection : G.sections()) { in preserveInitSections() local
873 if (!isELFInitializerSection(InitSection.getName()) || in preserveInitSections()
874 InitSection.empty()) in preserveInitSections()
880 auto &B = **InitSection.blocks().begin(); in preserveInitSections()
887 for (auto *B : InitSection.blocks()) { in preserveInitSections()
H A DMachOPlatform.cpp1028 auto *InitSection = G.findSectionByName(InitSectionName); in preserveImportantSections() local
1029 if (!InitSection || InitSection->empty()) in preserveImportantSections()
1035 auto &B = **InitSection->blocks().begin(); in preserveImportantSections()
1042 for (auto *B : InitSection->blocks()) { in preserveImportantSections()