HomeSort by: relevance | last modified time | path
    Searched defs:Sections (Results 1 - 25 of 32) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/wasm/
Reader.cpp 21 std::vector<Section> Sections;
22 Obj->Sections.reserve(WasmObj.getNumSections());
23 for (const SectionRef &Sec : WasmObj.sections()) {
25 Obj->Sections.push_back(
Object.h 24 // between custom and known sections.
32 // For now don't discriminate between kinds of sections.
33 std::vector<Section> Sections;
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
SpecialCaseList.h 13 // Empty lines and lines starting with "#" are ignored. Sections are defined
16 // entries without a section header match all sections (e.g. an '[*]' header
143 std::vector<Section> Sections;
  /src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
elf2yaml.cpp 29 ArrayRef<Elf_Shdr> Sections;
52 dumpProgramHeaders(ArrayRef<std::unique_ptr<ELFYAML::Chunk>> Sections);
55 dumpDWARFSections(std::vector<std::unique_ptr<ELFYAML::Chunk>> &Sections);
119 unsigned SecIndex = &Sec - &Sections[0];
187 if (S.Type == ELF::SHT_NULL && (&SHdr == &Sections[0])) {
193 // Normally we use "DWARF:" to describe contents of DWARF sections. Sometimes
194 // the content of DWARF sections can be successfully parsed into the "DWARF:"
218 // addresses of allocatable sections, e.g. for creating program headers.
220 // of that we do not print non-allocatable versions of such sections and
285 // Dump sections
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
COFFYAML.h 106 std::vector<Section> Sections;
MachOYAML.h 76 std::vector<Section> Sections;
132 std::vector<Section> Sections;
WasmYAML.h 401 std::vector<std::unique_ptr<Section>> Sections;
  /src/external/apache2/llvm/dist/llvm/lib/Support/
SpecialCaseList.cpp 101 StringMap<size_t> Sections;
110 if (!parse(FileOrErr.get().get(), Sections, ParseError)) {
120 StringMap<size_t> Sections;
121 if (!parse(MB, Sections, Error))
187 SectionsMap[Section] = Sections.size();
188 Sections.emplace_back(std::move(M));
191 auto &Entry = Sections[SectionsMap[Section]].Entries[Prefix][Category];
212 for (auto &SectionIter : Sections)
  /src/external/apache2/llvm/dist/llvm/lib/XRay/
InstrumentationMap.cpp 72 const auto &Sections = ObjFile.getBinary()->sections();
74 auto I = llvm::find_if(Sections, [&](object::SectionRef Section) {
84 if (I == Sections.end())
117 for (const object::SectionRef &Section : Sections) {
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/COFF/
Reader.cpp 57 std::vector<Section> Sections;
64 Sections.push_back(Section());
65 Section &S = Sections.back();
80 Obj.addSections(Sections);
87 ArrayRef<Section> Sections = Obj.getSections();
130 Sections.size())
131 Sym.TargetSectionId = Sections[SymRef.getSectionNumber() - 1].UniqueId;
141 if (Index <= 0 || static_cast<uint32_t>(Index - 1) >= Sections.size())
144 Sym.AssociativeComdatTargetSectionId = Sections[Index - 1].UniqueId;
Object.h 122 // all sections.
125 ArrayRef<Section> getSections() const { return Sections; }
126 // This allows mutating individual Sections, but not mutating the list
127 // of sections itself.
129 return make_range(Sections.begin(), Sections.end());
144 std::vector<Section> Sections;
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/
MachOLinkGraphBuilder.cpp 108 // Build normalized sections. Verifies that section data is in-range (for
109 // sections with content) and that address ranges are non-overlapping.
111 LLVM_DEBUG(dbgs() << "Creating normalized sections...\n");
113 for (auto &SecRef : Obj.sections()) {
196 std::vector<NormalizedSection *> Sections;
197 Sections.reserve(IndexToSection.size());
199 Sections.push_back(&KV.second);
201 // If we didn't end up creating any sections then bail out. The code below
203 if (Sections.empty())
206 llvm::sort(Sections,
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
DebugObjectManagerPlugin.cpp 64 // Only patch load-addresses for executable and data sections.
115 // Request final target memory load-addresses for all sections.
179 /// object buffer with load-addresses of their corresponding sections in target
217 StringMap<std::unique_ptr<DebugObjectSection>> Sections;
266 Expected<ArrayRef<SectionHeader>> Sections = ObjRef->sections();
267 if (!Sections)
268 return Sections.takeError();
271 for (const SectionHeader &Header : *Sections) {
322 for (const auto &KV : Sections)
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/
MachOReader.cpp 70 std::vector<std::unique_ptr<Section>> Sections;
76 Sections.push_back(
79 Sections.push_back(
83 Section &S = *Sections.back();
113 return std::move(Sections);
117 // For MachO sections indices start from 1.
126 if (Expected<std::vector<std::unique_ptr<Section>>> Sections =
129 LC.Sections = std::move(*Sections);
131 return Sections.takeError()
    [all...]
Object.h 95 // Some load commands can contain (inside the payload) an array of sections,
96 // though the contents of the sections are stored separately. The struct
97 // Section describes only sections' metadata and where to find the
99 std::vector<std::unique_ptr<Section>> Sections;
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
ELFDump.cpp 42 // If the dynamic segment is not present, we fall back on the sections.
43 auto SectionsOrError = Elf.sections();
340 ArrayRef<typename ELFT::Shdr> Sections =
341 unwrapOrError(Elf.sections(), FileName);
342 for (const typename ELFT::Shdr &Shdr : Sections) {
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/
DIASession.cpp 407 CComPtr<IDiaEnumSectionContribs> Sections =
409 if (!Sections)
412 return std::make_unique<DIAEnumSectionContribs>(*this, Sections);
  /src/external/apache2/llvm/dist/llvm/include/llvm/MC/
MCAssembler.h 110 SectionListType Sections;
344 iterator begin() { return Sections.begin(); }
345 const_iterator begin() const { return Sections.begin(); }
347 iterator end() { return Sections.end(); }
348 const_iterator end() const { return Sections.end(); }
350 size_t size() const { return Sections.size(); }
  /src/external/apache2/llvm/dist/llvm/include/llvm/Object/
MachO.h 156 SmallVector<SectionInfo, 32> Sections;
315 /// sections (e.g. everything in the _TEXT segment) by omitting their body
460 // In a MachO file, sections have a segment name. This is used in the .o
664 SectionList Sections;
Wasm.h 111 StringRef Name; // Section name (User-defined sections only)
160 uint32_t getNumSections() const { return Sections.size(); }
272 std::vector<WasmSection> Sections;
309 // We define orders for all core wasm sections and known custom sections.
314 // Core sections
329 // Custom sections
349 // Sections that may or may not be present, but cannot be predecessors
355 bool Seen[WASM_NUM_SEC_ORDERS] = {}; // Sections that have been seen already
357 // Returns -1 for unknown sections
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/
RuntimeDyldImpl.h 141 SectionPair Sections;
174 Sections.SectionA = SectionA;
175 Sections.SectionB = SectionB;
185 Sections.SectionA = SectionA;
186 Sections.SectionB = SectionB;
249 // A list of all sections emitted by the dynamic linker. These sections are
254 SectionList Sections;
259 // Keep a map of sections from object file to the SectionID which
275 // Relocations to sections already loaded. Indexed by SectionID which is th
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/InterfaceStub/
ELFObjHandler.cpp 201 std::vector<OutputSection<ELFT> *> Sections = {&DynSym, &DynStr, &DynTab,
203 const OutputSection<ELFT> *LastSection = Sections.back();
204 // Now set the Index and put sections names into ".shstrtab".
206 for (OutputSection<ELFT> *Sec : Sections) {
236 // Calculate sections' addresses and offsets.
238 for (OutputSection<ELFT> *Sec : Sections) {
  /src/external/apache2/llvm/dist/llvm/lib/MC/
WinCOFFObjectWriter.cpp 130 using sections = std::vector<std::unique_ptr<COFFSection>>;
141 sections Sections;
165 Sections.clear();
262 Sections.emplace_back(std::make_unique<COFFSection>(Name));
263 return Sections.back().get();
314 report_fatal_error("two sections have the same comdat");
373 report_fatal_error("conflicting sections for symbol");
566 // header, but our Sections array is not sorted by section number,
567 // so make a copy of Sections and sort it
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
ELFEmitter.cpp 135 // sections and symbols can be referenced by name instead of by index.
330 std::vector<ELFYAML::Section *> Sections = Doc.getSections();
332 if (Sections.empty() || Sections.front()->Type != ELF::SHT_NULL)
380 // Insert placeholders for implicit sections that are not
398 // sections list, it is reasonable to assume that the user wants to reorder
400 // all sections, like it normally happens. In this case we want to insert
401 // other implicit sections right before the section header table.
501 std::vector<ELFYAML::Section *> Sections = Doc.getSections();
563 !SectionHeaders.Sections);
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/ProfileData/Coverage/
CoverageMappingReader.cpp 925 /// Find all sections that match \p Name. There may be more than one if comdats
930 // linker to sort these sections between "$A" and "$Z". The linker removes the
938 std::vector<SectionRef> Sections;
939 for (const auto &Section : OF.sections()) {
944 Sections.push_back(Section);
946 if (Sections.empty())
948 return Sections;
978 // Look for the sections that we are interested in.

Completed in 41 milliseconds

1 2