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

1 2 3 4 5

  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/wasm/
Object.cpp 23 Sections.push_back(NewSection);
28 // TODO: remove reloc sections for the removed section, handle symbols, etc.
29 llvm::erase_if(Sections, ToRemove);
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(
Writer.cpp 47 SectionHeaders.reserve(Obj.Sections.size());
49 for (const Section &S : Obj.Sections) {
70 Out.write(reinterpret_cast<const char *>(Obj.Sections[I].Contents.data()),
71 Obj.Sections[I].Contents.size());
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/lib/ExecutionEngine/RuntimeDyld/Targets/
RuntimeDyldCOFFI386.h 80 SectionEntry &AddendSection = Sections[SectionID];
143 const auto Section = Sections[RE.SectionID];
153 RE.Sections.SectionA == static_cast<uint32_t>(-1)
155 : Sections[RE.Sections.SectionA].getLoadAddressWithOffset(
160 << " TargetSection: " << RE.Sections.SectionA
170 Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend) -
171 Sections[0].getLoadAddress();
175 << " TargetSection: " << RE.Sections.Section
    [all...]
RuntimeDyldCOFFThumb.h 84 SectionEntry &AddendSection = Sections[SectionID];
187 const auto Section = Sections[RE.SectionID];
199 RE.Sections.SectionA == static_cast<uint32_t>(-1)
201 : Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend);
206 << " TargetSection: " << RE.Sections.SectionA
215 uint64_t Result = Sections[RE.Sections.SectionA].getLoadAddress() -
216 Sections[0].getLoadAddress() + RE.Addend;
220 << " TargetSection: " << RE.Sections.Section
    [all...]
RuntimeDyldCOFFX86_64.h 28 // sections in a table until we receive a request to register all
29 // unregisteredEH frame sections with the memory manager.
38 for (const SectionEntry &Section : Sections)
39 // The Sections list may contain sections that weren't loaded for
40 // whatever reason: they may be debug sections, and ProcessAllSections
41 // is false, or they may be sections that contain 0 bytes. If the
88 const SectionEntry &Section = Sections[RE.SectionID];
148 SectionEntry &Section = Sections[SectionID];
211 SectionEntry &Section = Sections[SectionID]
    [all...]
RuntimeDyldMachOX86_64.h 88 const SectionEntry &Section = Sections[RE.SectionID];
112 uint64_t SectionABase = Sections[RE.Sections.SectionA].getLoadAddress();
113 uint64_t SectionBBase = Sections[RE.Sections.SectionB].getLoadAddress();
131 SectionEntry &Section = Sections[RE.SectionID];
168 uint8_t *LocalAddress = Sections[SectionID].getAddressWithOffset(Offset);
RuntimeDyldMachOARM.h 52 auto TargetObjAddr = Sections[SectionID].getObjAddress() + Offset;
56 Sections[Entry.getSectionID()].getObjAddress() + Entry.getOffset();
64 const SectionEntry &Section = Sections[RE.SectionID];
205 const SectionEntry &Section = Sections[RE.SectionID];
260 uint64_t SectionABase = Sections[RE.Sections.SectionA].getLoadAddress();
261 uint64_t SectionBBase = Sections[RE.Sections.SectionB].getLoadAddress();
310 SectionEntry &Section = Sections[RE.SectionID];
360 SectionEntry &Section = Sections[SectionID]
    [all...]
RuntimeDyldMachOI386.h 101 const SectionEntry &Section = Sections[RE.SectionID];
115 uint64_t SectionABase = Sections[RE.Sections.SectionA].getLoadAddress();
116 uint64_t SectionBBase = Sections[RE.Sections.SectionB].getLoadAddress();
154 SectionEntry &Section = Sections[SectionID];
  /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.cpp 74 std::begin(LC.Sections), std::end(LC.Sections),
76 for (auto I = LC.Sections.begin(), End = It; I != End; ++I) {
80 LC.Sections.erase(It, LC.Sections.end());
94 for (const std::unique_ptr<Section> &Sec : LC.Sections)
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/COFF/
Object.cpp 56 for (const Section &Sec : Sections) {
71 Sections.emplace_back(S);
77 SectionMap = DenseMap<ssize_t, Section *>(Sections.size());
79 for (Section &S : Sections) {
96 llvm::erase_if(Sections, [ToRemove, &RemovedSections](const Section &Sec) {
102 // Remove all symbols referring to the removed sections.
106 // If there are sections that are associative to a removed
121 for (Section &Sec : Sections) {
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/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/ExecutionEngine/RuntimeDyld/
RuntimeDyldCOFF.cpp 95 assert(SectionID < Sections.size() && "SectionID out of range");
96 auto &Sec = Sections[SectionID];
105 RE.Sections.SectionA = -1;
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...]
RuntimeDyldMachO.cpp 48 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset;
64 SectionEntry &Section = Sections[SectionID];
150 const SectionEntry &Section = Sections[RE.SectionID];
199 << Sections[PTSectionID].getName() << ", Section ID "
234 for (const auto &Section : Obj.sections()) {
241 // Force emission of the __text, __eh_frame, and __gcc_except_tab sections
243 // sections that have already been emitted.
325 SectionEntry *Text = &Sections[SectionInfo.TextSID];
326 SectionEntry *EHFrame = &Sections[SectionInfo.EHFrameSID];
329 ExceptTab = &Sections[SectionInfo.ExceptTabSID]
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
ObjDumper.cpp 57 ArrayRef<std::string> Sections) {
62 for (StringRef Section : Sections) {
70 for (object::SectionRef SecRef : Obj.sections()) {
99 ArrayRef<std::string> Sections) {
102 getSectionRefsByNameOrIndex(Obj, Sections)) {
133 ArrayRef<std::string> Sections) {
136 getSectionRefsByNameOrIndex(Obj, Sections)) {
  /src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/JITLink/
JITLink.h 596 // Sections are not movable or copyable.
884 assert(llvm::find_if(Sections,
887 }) == Sections.end() &&
889 std::unique_ptr<Section> Sec(new Section(Name, Prot, Sections.size()));
890 Sections.push_back(std::move(Sec));
891 return *Sections.back();
1015 iterator_range<section_iterator> sections() {
1016 return make_range(section_iterator(Sections.begin()),
1017 section_iterator(Sections.end()));
1023 for (auto &S : sections())
    [all...]
  /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/clang/lib/Basic/
ProfileList.cpp 35 bool isEmpty() const { return Sections.empty(); }
38 for (auto &SectionIter : Sections)
SanitizerSpecialCaseList.cpp 9 // An extension of SpecialCaseList to allowing querying sections by
40 for (auto &S : Sections) {
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ELF/
Object.h 51 MutableArrayRef<std::unique_ptr<SectionBase>> Sections;
57 : Sections(Secs) {}
60 iterator begin() const { return iterator(Sections.data()); }
61 iterator end() const { return iterator(Sections.data() + Sections.size()); }
62 size_t size() const { return Sections.size(); }
376 std::set<const SectionBase *, SectionCompare> Sections;
422 // Remove references to these sections. The list of sections must be sorted.
440 // Some sections might have the same address if one of them is empty. T
1058 SectionTableRef sections() { return SectionTableRef(Sections); } function in class:llvm::objcopy::elf::Object
1059 ConstRange<SectionBase> sections() const { function in class:llvm::objcopy::elf::Object
    [all...]

Completed in 25 milliseconds

1 2 3 4 5