Home
last modified time | relevance | path

Searched refs:Section (Results 1 – 25 of 452) sorted by relevance

12345678910>>...19

/freebsd-src/contrib/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXTargetStreamer.cpp46 const MCSection *Section) { in isDwarfSection() argument
49 if (!Section || Section->isText()) in isDwarfSection()
51 return Section == FI->getDwarfAbbrevSection() || in isDwarfSection()
52 Section == FI->getDwarfInfoSection() || in isDwarfSection()
53 Section == FI->getDwarfMacinfoSection() || in isDwarfSection()
54 Section == FI->getDwarfFrameSection() || in isDwarfSection()
55 Section == FI->getDwarfAddrSection() || in isDwarfSection()
56 Section == FI->getDwarfRangesSection() || in isDwarfSection()
57 Section in isDwarfSection()
87 changeSection(const MCSection * CurSection,MCSection * Section,const MCExpr * SubSection,raw_ostream & OS) changeSection() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDebugLineSectionEmitter.h101 SectionDescriptor &Section) { in emitLineTablePrologue() argument
103 Section.emitIntVal(P.getVersion(), 2); in emitLineTablePrologue()
106 Section.emitIntVal(P.getAddressSize(), 1); in emitLineTablePrologue()
109 Section.emitIntVal(P.SegSelectorSize, 1); in emitLineTablePrologue()
113 Section.emitOffset(0xBADDEF); in emitLineTablePrologue()
115 uint64_t OffsetAfterPrologueLength = Section.OS.tell(); in emitLineTablePrologue()
116 emitLineTableProloguePayload(P, Section); in emitLineTablePrologue()
117 uint64_t OffsetAfterPrologueEnd = Section.OS.tell(); in emitLineTablePrologue()
120 Section.apply(OffsetAfterPrologueLength - in emitLineTablePrologue()
121 Section in emitLineTablePrologue()
128 emitLineTablePrologueV2IncludeAndFileTable(const DWARFDebugLine::Prologue & P,SectionDescriptor & Section) emitLineTablePrologueV2IncludeAndFileTable() argument
170 emitLineTablePrologueV5IncludeAndFileTable(const DWARFDebugLine::Prologue & P,SectionDescriptor & Section) emitLineTablePrologueV5IncludeAndFileTable() argument
269 emitLineTableProloguePayload(const DWARFDebugLine::Prologue & P,SectionDescriptor & Section) emitLineTableProloguePayload() argument
296 emitLineTableRows(const DWARFDebugLine::LineTable & LineTable,SectionDescriptor & Section) emitLineTableRows() argument
[all...]
H A DOutputSections.cpp304 SectionDescriptor &Section, in applyPatches() argument
308 Section.ListDebugStrPatch.forEach([&](DebugStrPatch &Patch) { in applyPatches()
313 Section.apply(Patch.PatchOffset, dwarf::DW_FORM_strp, Entry->Offset); in applyPatches()
315 Section.ListDebugTypeStrPatch.forEach([&](DebugTypeStrPatch &Patch) { in applyPatches()
333 Section.apply(Patch.PatchOffset, dwarf::DW_FORM_strp, Entry->Offset); in applyPatches()
336 Section.ListDebugLineStrPatch.forEach([&](DebugLineStrPatch &Patch) { in applyPatches()
341 Section.apply(Patch.PatchOffset, dwarf::DW_FORM_line_strp, Entry->Offset); in applyPatches()
343 Section.ListDebugTypeLineStrPatch.forEach([&](DebugTypeLineStrPatch &Patch) { in applyPatches()
361 Section.apply(Patch.PatchOffset, dwarf::DW_FORM_line_strp, Entry->Offset); in applyPatches()
371 Section.ListDebugRangePatch.forEach([&](DebugRangePatch &Patch) { in applyPatches()
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmYAML.cpp26 Section::~Section() = default;
46 static void commonSectionMapping(IO &IO, WasmYAML::Section &Section) { in commonSectionMapping()
47 IO.mapRequired("Type", Section.Type); in commonSectionMapping()
48 IO.mapOptional("Relocations", Section.Relocations); in commonSectionMapping()
49 IO.mapOptional("HeaderSecSizeEncodingLen", Section.HeaderSecSizeEncodingLen); in commonSectionMapping()
52 static void sectionMapping(IO &IO, WasmYAML::DylinkSection &Section) { in sectionMapping()
53 commonSectionMapping(IO, Section); in sectionMapping()
54 IO.mapRequired("Name", Section in sectionMapping()
45 commonSectionMapping(IO & IO,WasmYAML::Section & Section) commonSectionMapping() argument
51 sectionMapping(IO & IO,WasmYAML::DylinkSection & Section) sectionMapping() argument
63 sectionMapping(IO & IO,WasmYAML::NameSection & Section) sectionMapping() argument
71 sectionMapping(IO & IO,WasmYAML::LinkingSection & Section) sectionMapping() argument
81 sectionMapping(IO & IO,WasmYAML::ProducersSection & Section) sectionMapping() argument
89 sectionMapping(IO & IO,WasmYAML::TargetFeaturesSection & Section) sectionMapping() argument
95 sectionMapping(IO & IO,WasmYAML::CustomSection & Section) sectionMapping() argument
101 sectionMapping(IO & IO,WasmYAML::TypeSection & Section) sectionMapping() argument
106 sectionMapping(IO & IO,WasmYAML::ImportSection & Section) sectionMapping() argument
111 sectionMapping(IO & IO,WasmYAML::FunctionSection & Section) sectionMapping() argument
116 sectionMapping(IO & IO,WasmYAML::TableSection & Section) sectionMapping() argument
121 sectionMapping(IO & IO,WasmYAML::MemorySection & Section) sectionMapping() argument
126 sectionMapping(IO & IO,WasmYAML::TagSection & Section) sectionMapping() argument
131 sectionMapping(IO & IO,WasmYAML::GlobalSection & Section) sectionMapping() argument
136 sectionMapping(IO & IO,WasmYAML::ExportSection & Section) sectionMapping() argument
141 sectionMapping(IO & IO,WasmYAML::StartSection & Section) sectionMapping() argument
146 sectionMapping(IO & IO,WasmYAML::ElemSection & Section) sectionMapping() argument
151 sectionMapping(IO & IO,WasmYAML::CodeSection & Section) sectionMapping() argument
156 sectionMapping(IO & IO,WasmYAML::DataSection & Section) sectionMapping() argument
161 sectionMapping(IO & IO,WasmYAML::DataCountSection & Section) sectionMapping() argument
167 mapping(IO & IO,std::unique_ptr<WasmYAML::Section> & Section) mapping() argument
[all...]
H A DWasmEmitter.cpp33 void writeRelocSection(raw_ostream &OS, WasmYAML::Section &Sec,
38 void writeSectionContent(raw_ostream &OS, WasmYAML::CustomSection &Section);
39 void writeSectionContent(raw_ostream &OS, WasmYAML::TypeSection &Section);
40 void writeSectionContent(raw_ostream &OS, WasmYAML::ImportSection &Section);
41 void writeSectionContent(raw_ostream &OS, WasmYAML::FunctionSection &Section);
42 void writeSectionContent(raw_ostream &OS, WasmYAML::TableSection &Section);
43 void writeSectionContent(raw_ostream &OS, WasmYAML::MemorySection &Section);
44 void writeSectionContent(raw_ostream &OS, WasmYAML::TagSection &Section);
45 void writeSectionContent(raw_ostream &OS, WasmYAML::GlobalSection &Section);
46 void writeSectionContent(raw_ostream &OS, WasmYAML::ExportSection &Section);
[all …]
H A DELFEmitter.cpp229 StringRef SecName, ELFYAML::Section *YAMLSec);
234 ELFYAML::Section *YAMLSec);
238 ELFYAML::Section *YAMLSec);
241 ELFYAML::Section *YAMLSec);
252 const ELFYAML::NoBitsSection &Section,
255 const ELFYAML::RawContentSection &Section,
258 const ELFYAML::RelocationSection &Section,
261 const ELFYAML::RelrSection &Section,
270 const ELFYAML::SymverSection &Section,
273 const ELFYAML::VerneedSection &Section,
1255 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::RawContentSection & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
1269 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::RelocationSection & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
1308 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::RelrSection & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
1342 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::GroupSection & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
1367 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::SymverSection & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
1379 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::StackSizesSection & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
1392 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::BBAddrMapSection & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
1481 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::LinkerOptionsSection & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
1497 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::DependentLibrariesSection & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
1535 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::CallGraphProfileSection & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
1548 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::HashSection & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
1570 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::VerdefSection & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
1616 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::VerneedSection & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
1664 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::ARMIndexTableSection & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
1678 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::MipsABIFlags & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
1703 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::DynamicSection & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
1720 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::AddrsigSection & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
1732 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::NoteSection & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
1773 writeSectionContent(Elf_Shdr & SHeader,const ELFYAML::GnuHashSection & Section,ContiguousBlobAccumulator & CBA) writeSectionContent() argument
[all...]
H A DELFYAML.cpp1336 IO.mapOptional("Section", Symbol.Section); in validate()
1354 if (Symbol.Index && Symbol.Section) in commonSectionMapping()
1355 return "Index and Section cannot both be specified for Symbol"; in commonSectionMapping()
1359 static void commonSectionMapping(IO &IO, ELFYAML::Section &Section) { in commonSectionMapping()
1360 IO.mapOptional("Name", Section.Name, StringRef()); in commonSectionMapping()
1361 IO.mapRequired("Type", Section.Type); in commonSectionMapping()
1362 IO.mapOptional("Flags", Section.Flags); in commonSectionMapping()
1363 IO.mapOptional("Address", Section in commonSectionMapping()
1341 commonSectionMapping(IO & IO,ELFYAML::Section & Section) commonSectionMapping() argument
1368 sectionMapping(IO & IO,ELFYAML::DynamicSection & Section) sectionMapping() argument
1373 sectionMapping(IO & IO,ELFYAML::RawContentSection & Section) sectionMapping() argument
1389 sectionMapping(IO & IO,ELFYAML::BBAddrMapSection & Section) sectionMapping() argument
1396 sectionMapping(IO & IO,ELFYAML::StackSizesSection & Section) sectionMapping() argument
1401 sectionMapping(IO & IO,ELFYAML::HashSection & Section) sectionMapping() argument
1413 sectionMapping(IO & IO,ELFYAML::NoteSection & Section) sectionMapping() argument
1419 sectionMapping(IO & IO,ELFYAML::GnuHashSection & Section) sectionMapping() argument
1426 sectionMapping(IO & IO,ELFYAML::NoBitsSection & Section) sectionMapping() argument
1430 sectionMapping(IO & IO,ELFYAML::VerdefSection & Section) sectionMapping() argument
1436 sectionMapping(IO & IO,ELFYAML::SymverSection & Section) sectionMapping() argument
1441 sectionMapping(IO & IO,ELFYAML::VerneedSection & Section) sectionMapping() argument
1447 sectionMapping(IO & IO,ELFYAML::RelocationSection & Section) sectionMapping() argument
1453 sectionMapping(IO & IO,ELFYAML::RelrSection & Section) sectionMapping() argument
1464 sectionMapping(IO & IO,ELFYAML::SymtabShndxSection & Section) sectionMapping() argument
1469 sectionMapping(IO & IO,ELFYAML::AddrsigSection & Section) sectionMapping() argument
1489 sectionMapping(IO & IO,ELFYAML::LinkerOptionsSection & Section) sectionMapping() argument
1495 sectionMapping(IO & IO,ELFYAML::DependentLibrariesSection & Section) sectionMapping() argument
1500 sectionMapping(IO & IO,ELFYAML::CallGraphProfileSection & Section) sectionMapping() argument
1510 sectionMapping(IO & IO,ELFYAML::ARMIndexTableSection & Section) sectionMapping() argument
1515 sectionMapping(IO & IO,ELFYAML::MipsABIFlags & Section) sectionMapping() argument
1551 mapping(IO & IO,std::unique_ptr<ELFYAML::Chunk> & Section) mapping() argument
[all...]
H A DMachOYAML.cpp330 void MappingTraits<MachOYAML::Section>::mapping(IO &IO, in mapping()
331 MachOYAML::Section &Section) { in mapping() argument
332 IO.mapRequired("sectname", Section.sectname); in mapping()
333 IO.mapRequired("segname", Section.segname); in mapping()
334 IO.mapRequired("addr", Section.addr); in mapping()
335 IO.mapRequired("size", Section.size); in mapping()
336 IO.mapRequired("offset", Section.offset); in mapping()
337 IO.mapRequired("align", Section.align); in mapping()
338 IO.mapRequired("reloff", Section.reloff); in mapping()
339 IO.mapRequired("nreloc", Section.nreloc); in mapping()
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
H A DDIASectionContrib.cpp19 : Session(PDBSession), Section(DiaSection) {} in DIASectionContrib()
23 if (FAILED(Section->get_compiland(&Symbol))) in getCompiland()
32 PrivateGetDIAValue(IDiaSectionContrib *Section, in PrivateGetDIAValue() argument
35 if (S_OK == (Section->*Method)(&Value)) in PrivateGetDIAValue()
42 return PrivateGetDIAValue(Section, &IDiaSectionContrib::get_addressSection); in getAddressSection()
46 return PrivateGetDIAValue(Section, &IDiaSectionContrib::get_addressOffset); in getAddressOffset()
50 return PrivateGetDIAValue(Section, &IDiaSectionContrib::get_virtualAddress); in getVirtualAddress()
54 return PrivateGetDIAValue(Section, in getRelativeVirtualAddress()
59 return PrivateGetDIAValue(Section, &IDiaSectionContrib::get_length); in getLength()
63 return PrivateGetDIAValue(Section, &IDiaSectionContrib::get_notPaged); in isNotPaged()
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugSubsectionVisitor.cpp55 DebugCrossModuleExportsSubsectionRef Section; in visitDebugSubsection() local
56 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection()
58 return V.visitCrossModuleExports(Section, State); in visitDebugSubsection()
61 DebugCrossModuleImportsSubsectionRef Section; in visitDebugSubsection() local
62 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection()
64 return V.visitCrossModuleImports(Section, State); in visitDebugSubsection()
67 DebugSymbolsSubsectionRef Section; in visitDebugSubsection() local
68 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection()
70 return V.visitSymbols(Section, State); in visitDebugSubsection()
73 DebugStringTableSubsectionRef Section; in visitDebugSubsection() local
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldELFMips.cpp16 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() local
18 resolveMIPSO32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend); in resolveRelocation()
20 resolveMIPSN32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation()
23 resolveMIPSN64Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation()
33 const SectionEntry &Section = Sections[RE.SectionID]; in evaluateRelocation() local
34 Value = evaluateMIPS64Relocation(Section, RE.Offset, Value, RE.RelType, in evaluateRelocation()
44 const SectionEntry &Section = Sections[RE.SectionID]; in applyRelocation() local
45 applyMIPSRelocation(Section.getAddressWithOffset(RE.Offset), Value, in applyRelocation()
53 RuntimeDyldELFMips::evaluateMIPS32Relocation(const SectionEntry &Section, in evaluateMIPS32Relocation() argument
58 << format("%llx", Section.getAddressWithOffset(Offset)) in evaluateMIPS32Relocation()
[all …]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h186 struct Section { struct
187 explicit Section(SectionType SecType) : Type(SecType) {} in Section() argument
188 virtual ~Section();
195 struct CustomSection : Section { argument
197 : Section(wasm::WASM_SEC_CUSTOM), Name(Name) {} in CustomSection()
199 static bool classof(const Section *S) { in classof()
221 static bool classof(const Section *S) { in classof()
238 static bool classof(const Section *S) { in classof()
251 static bool classof(const Section *S) { in classof()
266 static bool classof(const Section *S) { in classof()
[all …]
H A DELFYAML.h140 std::optional<StringRef> Section; member
251 struct Section : public Chunk {
265 Section(ChunkKind Kind, bool IsImplicit = false) : Chunk(Kind, IsImplicit) {}
343 struct BBAddrMapSection : Section { in classof()
347 BBAddrMapSection() : Section(ChunkKind::BBAddrMap) {}
358 struct StackSizesSection : Section {
361 StackSizesSection() : Section(ChunkKind::StackSizes) {} in nameMatches()
376 struct DynamicSection : Section {
379 DynamicSection() : Section(ChunkKind::Dynamic) {} in RawContentSection()
388 struct RawContentSection : Section {
239 struct Section : public Chunk { global() struct
253 ChunkSection Chunk() argument
255 classofSection classof() argument
262 getEntriesSection getEntries() argument
270 ShAddrAlignSection global() argument
274 ShNameSection global() argument
278 ShOffsetSection global() argument
282 ShSizeSection global() argument
306 ShTypeSection global() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStub.cpp277 static void mapping(IO &IO, ExportSection &Section) { in mapping()
282 IO.mapRequired("archs", Section.Architectures); in mapping()
284 IO.mapOptional("allowed-clients", Section.AllowableClients); in mapping()
286 IO.mapOptional("allowable-clients", Section.AllowableClients); in mapping()
287 IO.mapOptional("re-exports", Section.ReexportedLibraries); in mapping()
288 IO.mapOptional("symbols", Section.Symbols); in mapping()
289 IO.mapOptional("objc-classes", Section.Classes); in mapping()
291 IO.mapOptional("objc-eh-types", Section.ClassEHs); in mapping()
292 IO.mapOptional("objc-ivars", Section.IVars); in mapping()
293 IO.mapOptional("weak-def-symbols", Section in mapping()
437 ExportSection Section; NormalizedTBD() local
504 UndefinedSection Section; NormalizedTBD() local
603 for (const auto &Section : Exports) { denormalize() local
647 for (const auto &Section : Undefineds) { denormalize() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/MC/
H A DConstantPools.cpp80 ConstantPool *AssemblerConstantPools::getConstantPool(MCSection *Section) { in getConstantPool()
81 ConstantPoolMapTy::iterator CP = ConstantPools.find(Section); in getConstantPool()
89 AssemblerConstantPools::getOrCreateConstantPool(MCSection *Section) { in getOrCreateConstantPool()
90 return ConstantPools[Section]; in getOrCreateConstantPool()
93 static void emitConstantPool(MCStreamer &Streamer, MCSection *Section, in emitConstantPool()
96 Streamer.switchSection(Section); in emitConstantPool()
104 MCSection *Section = CPI.first; in emitAll()
107 emitConstantPool(Streamer, Section, CP); in emitAll()
112 MCSection *Section = Streamer.getCurrentSectionOnly(); in emitForCurrentSection()
113 if (ConstantPool *CP = getConstantPool(Section)) in emitForCurrentSection()
79 getConstantPool(MCSection * Section) getConstantPool() argument
88 getOrCreateConstantPool(MCSection * Section) getOrCreateConstantPool() argument
92 emitConstantPool(MCStreamer & Streamer,MCSection * Section,ConstantPool & CP) emitConstantPool() argument
103 MCSection *Section = CPI.first; emitAll() local
111 MCSection *Section = Streamer.getCurrentSectionOnly(); emitForCurrentSection() local
117 MCSection *Section = Streamer.getCurrentSectionOnly(); clearCacheForCurrentSection() local
125 MCSection *Section = Streamer.getCurrentSectionOnly(); addEntry() local
[all...]
H A DWasmObjectWriter.cpp62 MCSectionWasm *Section;
74 MCSection *Section;
123 MCSectionWasm *Section;
128 WasmCustomSection(StringRef Name, MCSectionWasm *Section)
129 : Name(Name), Section(Section) {} in WasmCustomSection()
256 void startSection(SectionBookkeeping &Section, unsigned SectionId);
257 void startCustomSection(SectionBookkeeping &Section, StringRef Name);
258 void endSection(SectionBookkeeping &Section);
366 void WasmObjectWriter::startSection(SectionBookkeeping &Section,
63 MCSectionWasm *Section; global() member
75 MCSection *Section; global() member
124 MCSectionWasm *Section; global() member
369 startSection(SectionBookkeeping & Section,unsigned SectionId) startSection() argument
408 startCustomSection(SectionBookkeeping & Section,StringRef Name) startCustomSection() argument
430 endSection(SectionBookkeeping & Section) endSection() argument
687 const auto &Section = getProvisionalValue() local
831 SectionBookkeeping Section; writeTypeSection() local
857 SectionBookkeeping Section; writeImportSection() local
899 SectionBookkeeping Section; writeFunctionSection() local
913 SectionBookkeeping Section; writeTagSection() local
929 SectionBookkeeping Section; writeGlobalSection() local
970 SectionBookkeeping Section; writeTableSection() local
988 SectionBookkeeping Section; writeExportSection() local
1008 SectionBookkeeping Section; writeElemSection() local
1045 SectionBookkeeping Section; writeDataCountSection() local
1057 SectionBookkeeping Section; writeCodeSection() local
1082 SectionBookkeeping Section; writeDataSection() local
1129 SectionBookkeeping Section; writeRelocSection() local
1160 SectionBookkeeping Section; writeLinkingMetaDataSection() local
1244 SectionBookkeeping Section; writeCustomSection() local
1482 auto &Section = static_cast<MCSectionWasm &>(Sec); writeOneObject() local
1601 auto &Section = static_cast<MCSectionWasm &>(WS.getSection()); writeOneObject() local
[all...]
H A DWinCOFFObjectWriter.cpp80 COFFSection *Section = nullptr;
296 COFFSection *Section = createSection(MCSec.getName()); in getAlignment()
298 Section->Symbol = Symbol; in getAlignment()
300 Symbol->Section = Section; in getAlignment()
307 if (COMDATSymbol->Section) in getAlignment()
309 COMDATSymbol->Section = Section; in getAlignment()
313 // In this case the auxiliary symbol is a Section Definition. in getAlignment()
320 Section in getAlignment()
81 COFFSection *Section = nullptr; global() member in __anonf03844010111::COFFSymbol
327 COFFSection *Section = createSection(MCSec.getName()); defineSection() local
570 for (auto &Section : Sections) writeSectionHeaders() local
576 for (auto &Section : Arr) { writeSectionHeaders() local
740 isAssociative(const COFFSection & Section) isAssociative() argument
747 __anonf03844010302(COFFSection &Section) assignSectionNumbers() argument
757 for (const std::unique_ptr<COFFSection> &Section : Sections) assignSectionNumbers() local
760 for (const std::unique_ptr<COFFSection> &Section : Sections) assignSectionNumbers() local
773 for (const auto &Section : Asm) { assignFileOffsets() local
841 for (const auto &Section : Asm) { executePostLayoutBinding() local
919 COFFSection *Section = SectionMap[TargetSection]; recordRelocation() local
1068 for (auto &Section : Sections) { writeObject() local
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Basic/
H A DProfileList.cpp90 StringRef Section = getSectionName(Kind); in getDefault() local
92 if (SCL->inSection(Section, "default", "allow")) in getDefault()
94 if (SCL->inSection(Section, "default", "skip")) in getDefault()
96 if (SCL->inSection(Section, "default", "forbid")) in getDefault()
105 ProfileList::inSection(StringRef Section, StringRef Prefix, in inSection() argument
107 if (SCL->inSection(Section, Prefix, Query, "allow")) in inSection()
109 if (SCL->inSection(Section, Prefix, Query, "skip")) in inSection()
111 if (SCL->inSection(Section, Prefix, Query, "forbid")) in inSection()
113 if (SCL->inSection(Section, Prefix, Query)) in inSection()
121 StringRef Section = getSectionName(Kind); in isFunctionExcluded() local
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp259 void RuntimeDyldELF::resolveX86_64Relocation(const SectionEntry &Section,
273 *Section.getAddressWithOffset(Offset) = TruncatedAddr; in resolveX86_64Relocation()
275 << format("%p\n", Section.getAddressWithOffset(Offset))); in resolveX86_64Relocation()
282 support::ulittle16_t::ref(Section.getAddressWithOffset(Offset)) = in resolveX86_64Relocation()
285 << format("%p\n", Section.getAddressWithOffset(Offset))); in resolveX86_64Relocation()
289 support::ulittle64_t::ref(Section.getAddressWithOffset(Offset)) = in resolveX86_64Relocation()
292 << format("%p\n", Section.getAddressWithOffset(Offset))); in resolveX86_64Relocation()
302 support::ulittle32_t::ref(Section.getAddressWithOffset(Offset)) = in resolveX86_64Relocation()
305 << format("%p\n", Section.getAddressWithOffset(Offset))); in resolveX86_64Relocation()
309 uint64_t FinalAddress = Section in resolveX86_64Relocation()
260 resolveX86_64Relocation(const SectionEntry & Section,uint64_t Offset,uint64_t Value,uint32_t Type,int64_t Addend,uint64_t SymOffset) resolveX86_64Relocation() argument
338 for (const auto &Section : Sections) { resolveX86_64Relocation() local
378 resolveX86Relocation(const SectionEntry & Section,uint64_t Offset,uint32_t Value,uint32_t Type,int32_t Addend) resolveX86Relocation() argument
406 resolveAArch64Relocation(const SectionEntry & Section,uint64_t Offset,uint64_t Value,uint32_t Type,int64_t Addend) resolveAArch64Relocation() argument
592 resolveARMRelocation(const SectionEntry & Section,uint64_t Offset,uint32_t Value,uint32_t Type,int32_t Addend) resolveARMRelocation() argument
679 for (auto &Section : Obj.sections()) { findPPC64TOCSection() local
816 resolvePPC32Relocation(const SectionEntry & Section,uint64_t Offset,uint64_t Value,uint32_t Type,int64_t Addend) resolvePPC32Relocation() argument
836 resolvePPC64Relocation(const SectionEntry & Section,uint64_t Offset,uint64_t Value,uint32_t Type,int64_t Addend) resolvePPC64Relocation() argument
930 resolveSystemZRelocation(const SectionEntry & Section,uint64_t Offset,uint64_t Value,uint32_t Type,int64_t Addend) resolveSystemZRelocation() argument
984 resolveBPFRelocation(const SectionEntry & Section,uint64_t Offset,uint64_t Value,uint32_t Type,int64_t Addend) resolveBPFRelocation() argument
1037 const SectionEntry &Section = Sections[RE.SectionID]; resolveRelocation() local
1042 resolveRelocation(const SectionEntry & Section,uint64_t Offset,uint64_t Value,uint32_t Type,int64_t Addend,uint64_t SymOffset,SID SectionID) resolveRelocation() argument
1168 SectionEntry &Section = Sections[SectionID]; resolveAArch64Branch() local
1337 SectionEntry &Section = Sections[SectionID]; processRelocationRef() local
1385 SectionEntry &Section = Sections[SectionID]; processRelocationRef() local
1487 SectionEntry &Section = Sections[SectionID]; processRelocationRef() local
1563 SectionEntry &Section = Sections[SectionID]; processRelocationRef() local
1726 SectionEntry &Section = Sections[SectionID]; processRelocationRef() local
1780 SectionEntry *Section = &Sections[SectionID]; processRelocationRef() local
1955 auto &Section = Sections[SectionID]; processX86_64GOTTPOFFRelocation() local
2198 auto &Section = Sections[SectionID]; processX86_64TLSRelocation() local
2399 const SectionRef &Section = i->first; finalizeLoad() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/ObjCopy/wasm/
H A DWasmObjcopy.cpp22 using SectionPred = std::function<bool(const Section &Sec)>;
24 static bool isDebugSection(const Section &Sec) { in isDebugSection()
28 static bool isLinkerSection(const Section &Sec) { in isLinkerSection()
32 static bool isNameSection(const Section &Sec) { return Sec.Name == "name"; } in isNameSection()
36 static bool isCommentSection(const Section &Sec) { in isCommentSection()
42 for (const Section &Sec : Obj.Sections) { in dumpSectionToFile()
61 SectionPred RemovePred = [](const Section &) { return false; }; in removeSections() argument
65 RemovePred = [&Config](const Section &Sec) { in removeSections()
71 RemovePred = [RemovePred](const Section &Sec) { in removeSections()
77 RemovePred = [RemovePred](const Section &Sec) { in removeSections()
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObject.cpp56 for (const Section &Sec : Sections) { in markSymbols()
68 void Object::addSections(ArrayRef<Section> NewSections) { in addSections()
69 for (Section S : NewSections) { in addSections()
77 SectionMap = DenseMap<ssize_t, Section *>(Sections.size()); in updateSections()
79 for (Section &S : Sections) { in updateSections()
85 const Section *Object::findSection(ssize_t UniqueId) const { in findSection()
89 void Object::removeSections(function_ref<bool(const Section &)> ToRemove) { in removeSections()
91 auto RemoveAssociated = [&AssociatedSections](const Section &Sec) { in removeSections()
96 llvm::erase_if(Sections, [ToRemove, &RemovedSections](const Section &Sec) { in removeSections()
120 void Object::truncateSections(function_ref<bool(const Section &)> ToTruncate) { in truncateSections()
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBSymbolData.cpp26 if (auto Section = RawSymbol->getAddressSection()) in getLineNumbers() local
28 Section, RawSymbol->getAddressOffset(), Len); in getLineNumbers()
48 while (auto Section = SecContribs->getNext()) { in getCompilandId() local
49 if (Section->getAddressSection() == DataSection && in getCompilandId()
50 Section->getAddressOffset() <= DataOffset && in getCompilandId()
51 (Section->getAddressOffset() + Section->getLength()) > DataOffset) in getCompilandId()
52 return Section->getCompilandId(); in getCompilandId()
/freebsd-src/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DWin64EHDumper.cpp160 const coff_section *Section, uint64_t Offset, in formatSymbol() argument
167 if (!Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData)) { in formatSymbol()
206 const coff_section *Section, in resolveRelocation() argument
212 Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData)) in resolveRelocation()
229 for (const auto &Section : COFF.sections()) { in getSectionContaining() local
230 uint64_t Address = Section.getAddress(); in getSectionContaining()
231 uint64_t Size = Section.getSize(); in getSectionContaining()
234 return COFF.getCOFFSection(Section); in getSectionContaining()
242 const coff_section *Section, in printRuntimeFunctionEntry() argument
246 formatSymbol(Ctx, Section, Offset + 0, RF.StartAddress)); in printRuntimeFunctionEntry()
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Core/
H A DSection.cpp1 //===-- Section.cpp -------------------------------------------------------===//
9 #include "lldb/Core/Section.h"
28 const char *Section::GetTypeAsCString() const { in GetTypeAsCString()
158 Section::Section(const ModuleSP &module_sp, ObjectFile *obj_file, in Section() function in Section
173 Section::Section(const lldb::SectionSP &parent_section_sp, in Section() function in Section
191 Section::~Section() = default;
193 addr_t Section
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.cpp148 for (const object::SectionRef &Section : Obj.sections()) { in mapVirtualAddress() local
150 Expected<StringRef> SectionNameOrErr = Section.getName(); in mapVirtualAddress()
156 dbgs() << "Index: " << format_decimal(Section.getIndex(), 3) << ", " in mapVirtualAddress()
157 << "Address: " << hexValue(Section.getAddress()) << ", " in mapVirtualAddress()
158 << "Size: " << hexValue(Section.getSize()) << ", " in mapVirtualAddress()
160 dbgs() << "isCompressed: " << Section.isCompressed() << ", " in mapVirtualAddress()
161 << "isText: " << Section.isText() << ", " in mapVirtualAddress()
162 << "isData: " << Section.isData() << ", " in mapVirtualAddress()
163 << "isBSS: " << Section.isBSS() << ", " in mapVirtualAddress()
164 << "isVirtual: " << Section in mapVirtualAddress()
204 for (const object::SectionRef &Section : COFFObj.sections()) { mapVirtualAddress() local
322 const object::SectionRef Section = Iter->second; getSection() local
389 const object::SectionRef Section = (*SectionOrErr).second; createInstructions() local
833 const object::SectionRef Section = Entry.second; processLines() local
[all...]

12345678910>>...19