/external/swiftshader/third_party/LLVM/tools/llvm-objdump/ |
D | MachODump.cpp | 126 static void DumpAddress(uint64_t Address, ArrayRef<Section> Sections, in DumpAddress() argument 128 for (unsigned i = 0; i != Sections.size(); ++i) { in DumpAddress() 129 uint64_t addr = Address-Sections[i].Address; in DumpAddress() 130 if (Sections[i].Address <= Address && in DumpAddress() 131 Sections[i].Address + Sections[i].Size > Address) { in DumpAddress() 132 StringRef bytes = MachOObj->getData(Sections[i].Offset, in DumpAddress() 133 Sections[i].Size); in DumpAddress() 135 if (!strcmp(Sections[i].Name, "__cstring")) in DumpAddress() 138 if (!strcmp(Sections[i].Name, "__cfstring")) in DumpAddress() 217 std::vector<Section> &Sections, in getSectionsAndSymbols() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldCOFFI386.h | 63 SectionEntry &AddendSection = Sections[SectionID]; in processRelocationRef() 133 const auto Section = Sections[RE.SectionID]; in resolveRelocation() 143 RE.Sections.SectionA == static_cast<uint32_t>(-1) in resolveRelocation() 145 : Sections[RE.Sections.SectionA].getLoadAddressWithOffset( in resolveRelocation() 150 << " TargetSection: " << RE.Sections.SectionA in resolveRelocation() 160 Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend) - in resolveRelocation() 161 Sections[0].getLoadAddress(); in resolveRelocation() 165 << " TargetSection: " << RE.Sections.SectionA in resolveRelocation() 173 uint64_t Result = RE.Sections.SectionA == static_cast<uint32_t>(-1) in resolveRelocation() 175 : Sections[RE.Sections.SectionA].getLoadAddress(); in resolveRelocation() [all …]
|
D | RuntimeDyldCOFFThumb.h | 82 SectionEntry &AddendSection = Sections[SectionID]; in processRelocationRef() 173 const auto Section = Sections[RE.SectionID]; in resolveRelocation() 185 RE.Sections.SectionA == static_cast<uint32_t>(-1) in resolveRelocation() 187 : Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend); in resolveRelocation() 192 << " TargetSection: " << RE.Sections.SectionA in resolveRelocation() 201 uint64_t Result = Sections[RE.Sections.SectionA].getLoadAddress() - in resolveRelocation() 202 Sections[0].getLoadAddress() + RE.Addend; in resolveRelocation() 206 << " TargetSection: " << RE.Sections.SectionA in resolveRelocation() 234 Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend); in resolveRelocation() 238 << " TargetSection: " << RE.Sections.SectionA in resolveRelocation() [all …]
|
D | RuntimeDyldCOFFX86_64.h | 39 for (const SectionEntry &Section : Sections) in getImageBase() 82 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() 136 SectionEntry &Section = Sections[SectionID]; in generateRelocationStub() 199 SectionEntry &Section = Sections[SectionID]; in processRelocationRef() 261 uint8_t *EHFrameAddr = Sections[EHFrameSID].getAddress(); in registerEHFrames() 262 uint64_t EHFrameLoadAddr = Sections[EHFrameSID].getLoadAddress(); in registerEHFrames() 263 size_t EHFrameSize = Sections[EHFrameSID].getSize(); in registerEHFrames()
|
D | RuntimeDyldMachOARM.h | 51 auto TargetObjAddr = Sections[SectionID].getObjAddress() + Offset; in isAddrTargetThumb() 55 Sections[Entry.getSectionID()].getObjAddress() + Entry.getOffset(); in isAddrTargetThumb() 63 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend() 204 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() 259 uint64_t SectionABase = Sections[RE.Sections.SectionA].getLoadAddress(); in resolveRelocation() 260 uint64_t SectionBBase = Sections[RE.Sections.SectionB].getLoadAddress(); in resolveRelocation() 306 SectionEntry &Section = Sections[RE.SectionID]; in processBranchRelocation() 356 SectionEntry &Section = Sections[SectionID]; in processHALFSECTDIFFRelocation()
|
D | RuntimeDyldMachOX86_64.h | 89 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() 113 uint64_t SectionABase = Sections[RE.Sections.SectionA].getLoadAddress(); in resolveRelocation() 114 uint64_t SectionBBase = Sections[RE.Sections.SectionB].getLoadAddress(); in resolveRelocation() 132 SectionEntry &Section = Sections[RE.SectionID]; in processGOTRelocation() 169 uint8_t *LocalAddress = Sections[SectionID].getAddressWithOffset(Offset); in processSubtractRelocation()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldCOFFI386.h | 63 SectionEntry &AddendSection = Sections[SectionID]; in processRelocationRef() 133 const auto Section = Sections[RE.SectionID]; in resolveRelocation() 143 RE.Sections.SectionA == static_cast<uint32_t>(-1) in resolveRelocation() 145 : Sections[RE.Sections.SectionA].getLoadAddressWithOffset( in resolveRelocation() 153 << " TargetSection: " << RE.Sections.SectionA in resolveRelocation() 162 Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend) - in resolveRelocation() 163 Sections[0].getLoadAddress(); in resolveRelocation() 170 << " TargetSection: " << RE.Sections.SectionA in resolveRelocation() 177 uint64_t Result = RE.Sections.SectionA == static_cast<uint32_t>(-1) in resolveRelocation() 179 : Sections[RE.Sections.SectionA].getLoadAddress(); in resolveRelocation() [all …]
|
D | RuntimeDyldCOFFThumb.h | 62 SectionEntry &AddendSection = Sections[SectionID]; in processRelocationRef() 143 const auto Section = Sections[RE.SectionID]; in resolveRelocation() 154 RE.Sections.SectionA == static_cast<uint32_t>(-1) in resolveRelocation() 156 : Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend); in resolveRelocation() 163 << " TargetSection: " << RE.Sections.SectionA in resolveRelocation() 171 uint64_t Result = Sections[RE.Sections.SectionA].getLoadAddress() - in resolveRelocation() 172 Sections[0].getLoadAddress() + RE.Addend; in resolveRelocation() 179 << " TargetSection: " << RE.Sections.SectionA in resolveRelocation() 209 Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend); in resolveRelocation() 216 << " TargetSection: " << RE.Sections.SectionA in resolveRelocation() [all …]
|
D | RuntimeDyldMachOARM.h | 38 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend() 117 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() 154 uint64_t SectionABase = Sections[RE.Sections.SectionA].getLoadAddress(); in resolveRelocation() 155 uint64_t SectionBBase = Sections[RE.Sections.SectionB].getLoadAddress(); in resolveRelocation() 192 SectionEntry &Section = Sections[RE.SectionID]; in processBranchRelocation() 235 SectionEntry &Section = Sections[SectionID]; in processHALFSECTDIFFRelocation()
|
D | RuntimeDyldMachOX86_64.h | 89 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() 113 uint64_t SectionABase = Sections[RE.Sections.SectionA].getLoadAddress(); in resolveRelocation() 114 uint64_t SectionBBase = Sections[RE.Sections.SectionB].getLoadAddress(); in resolveRelocation() 132 SectionEntry &Section = Sections[RE.SectionID]; in processGOTRelocation() 169 uint8_t *LocalAddress = Sections[SectionID].getAddressWithOffset(Offset); in processSubtractRelocation()
|
D | RuntimeDyldCOFFX86_64.h | 64 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() 131 SectionEntry &Section = Sections[SectionID]; in processRelocationRef() 189 uint8_t *EHFrameAddr = Sections[EHFrameSID].getAddress(); in registerEHFrames() 190 uint64_t EHFrameLoadAddr = Sections[EHFrameSID].getLoadAddress(); in registerEHFrames() 191 size_t EHFrameSize = Sections[EHFrameSID].getSize(); in registerEHFrames()
|
D | RuntimeDyldMachOAArch64.h | 36 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend() 314 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() 361 uint64_t SectionABase = Sections[RE.Sections.SectionA].getLoadAddress(); in resolveRelocation() 362 uint64_t SectionBBase = Sections[RE.Sections.SectionB].getLoadAddress(); in resolveRelocation() 388 SectionEntry &Section = Sections[RE.SectionID]; in processGOTRelocation() 431 uint8_t *LocalAddress = Sections[SectionID].getAddressWithOffset(Offset); in processSubtractRelocation()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | SpecialCaseList.cpp | 100 StringMap<size_t> Sections; in createInternal() local 109 if (!parse(FileOrErr.get().get(), Sections, ParseError)) { in createInternal() 119 StringMap<size_t> Sections; in createInternal() local 120 if (!parse(MB, Sections, Error)) in createInternal() 186 SectionsMap[Section] = Sections.size(); in parse() 187 Sections.emplace_back(std::move(M)); in parse() 190 auto &Entry = Sections[SectionsMap[Section]].Entries[Prefix][Category]; in parse() 211 for (auto &SectionIter : Sections) in inSectionBlame()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/ |
D | ELF.h | 107 Elf_Shdr_Range Sections) const; 111 Elf_Shdr_Range Sections) const; 245 Expected<StringRef> getSectionStringTable(Elf_Shdr_Range Sections) const; 275 getSection(typename ELFT::ShdrRange Sections, uint32_t Index) { in getSection() argument 276 if (Index >= Sections.size()) in getSection() 278 return &Sections[Index]; in getSection() 434 ELFFile<ELFT>::getSectionStringTable(Elf_Shdr_Range Sections) const { in getSectionStringTable() argument 437 Index = Sections[0].sh_link; in getSectionStringTable() 441 if (Index >= Sections.size()) in getSectionStringTable() 443 return getStringTable(&Sections[Index]); in getSectionStringTable() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/ |
D | Object.h | 47 MutableArrayRef<std::unique_ptr<SectionBase>> Sections; variable 53 : Sections(Secs) {} in SectionTableRef() 56 iterator begin() { return iterator(Sections.data()); } in begin() 57 iterator end() { return iterator(Sections.data() + Sections.size()); } in end() 277 std::set<const SectionBase *, SectionCompare> Sections; variable 298 if (!Sections.empty()) in firstSection() 299 return *Sections.begin(); in firstSection() 303 void removeSection(const SectionBase *Sec) { Sections.erase(Sec); } in removeSection() 304 void addSection(const SectionBase *Sec) { Sections.insert(Sec); } in addSection() 664 std::vector<SecPtr> Sections; variable [all …]
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyld.cpp | 124 for (int i = 0, e = Sections.size(); i != e; ++i) in resolveRelocations() 125 dumpSectionMemory(Sections[i], "before relocations"); in resolveRelocations() 137 uint64_t Addr = Sections[Idx].getLoadAddress(); in resolveRelocations() 146 for (int i = 0, e = Sections.size(); i != e; ++i) in resolveRelocations() 147 dumpSectionMemory(Sections[i], "after relocations"); in resolveRelocations() 155 for (unsigned i = 0, e = Sections.size(); i != e; ++i) { in mapSectionAddress() 156 if (Sections[i].getAddress() == LocalAddress) { in mapSectionAddress() 603 unsigned SectionID = Sections.size(); in emitCommonSymbols() 609 Sections.push_back( in emitCommonSymbols() 680 unsigned SectionID = Sections.size(); in emitSection() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objcopy/ |
D | binary-segment-layout.test | 12 Sections: 29 Sections: 34 Sections:
|
D | check-addr-offset-align-binary.test | 11 Sections: 30 Sections: 37 Sections:
|
D | overlap-chain.test | 16 Sections: 45 Sections: 50 Sections: 55 Sections: 60 Sections:
|
D | triple-overlap.test | 16 Sections: 45 Sections: 50 Sections: 56 Sections: 64 Sections:
|
D | binary-paddr.test | 12 Sections: 31 Sections: 38 Sections:
|
D | binary-no-paddr.test | 12 Sections: 31 Sections: 38 Sections:
|
D | identical-segments.test | 15 Sections: 29 Sections: 33 Sections: 38 Sections:
|
/external/llvm/test/tools/llvm-readobj/ |
D | elf-sec-flags.test | 20 Sections: 41 Sections: 64 Sections: 85 Sections:
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyld.cpp | 125 LLVM_DEBUG(for (int i = 0, e = Sections.size(); i != e; ++i) in resolveRelocations() 126 dumpSectionMemory(Sections[i], "before relocations");); in resolveRelocations() 140 uint64_t Addr = Sections[Idx].getLoadAddress(); in resolveRelocations() 148 LLVM_DEBUG(for (int i = 0, e = Sections.size(); i != e; ++i) in resolveRelocations() 149 dumpSectionMemory(Sections[i], "after relocations");); in resolveRelocations() 155 for (unsigned i = 0, e = Sections.size(); i != e; ++i) { in mapSectionAddress() 156 if (Sections[i].getAddress() == LocalAddress) { in mapSectionAddress() 657 unsigned SectionID = Sections.size(); in emitCommonSymbols() 663 Sections.push_back( in emitCommonSymbols() 730 unsigned SectionID = Sections.size(); in emitSection() [all …]
|