Home
last modified time | relevance | path

Searched refs:SHOff (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/llvm/lib/ObjectYAML/
DELFEmitter.cpp235 void writeELFHeader(raw_ostream &OS, Optional<uint64_t> SHOff);
387 void ELFState<ELFT>::writeELFHeader(raw_ostream &OS, Optional<uint64_t> SHOff) { in writeELFHeader() argument
439 else if (SHOff) in writeELFHeader()
440 Header.e_shoff = *SHOff; in writeELFHeader()
449 else if (!SHOff) in writeELFHeader()
459 else if (SHOff && !ExcludedSectionHeaders.count(".shstrtab")) in writeELFHeader()
1931 Optional<uint64_t> SHOff; in writeELF() local
1933 SHOff = State.alignToOffset(CBA, sizeof(typename ELFT::uint), in writeELF()
1935 bool ReachedLimit = SHOff.getValueOr(CBA.getOffset()) + in writeELF()
1952 State.writeELFHeader(OS, SHOff); in writeELF()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DELFEmitter.cpp300 uint64_t SHOff; in writeELFHeader() local
301 CBA.getOSAndAlignedOffset(SHOff, sizeof(typename ELFT::uint)); in writeELFHeader()
303 Doc.Header.SHOff ? typename ELFT::uint(*Doc.Header.SHOff) : SHOff; in writeELFHeader()
DELFYAML.cpp835 IO.mapOptional("SHOff", FileHdr.SHOff); in mapping()
/external/llvm-project/llvm/tools/llvm-objcopy/ELF/
DObject.cpp2000 Ehdr.e_shoff = Obj.SHOff; in writeEhdr()
2039 *reinterpret_cast<Elf_Shdr *>(Buf.getBufferStart() + Obj.SHOff); in writeShdrs()
2390 Obj.SHOff = Offset; in assignOffsets()
2397 return Obj.SHOff; in totalSize()
2399 return Obj.SHOff + ShdrCount * sizeof(Elf_Shdr); in totalSize()
2523 uint64_t Offset = Obj.SHOff + sizeof(Elf_Shdr); in finalize()
DObject.h1042 uint64_t SHOff; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DELFYAML.h82 Optional<llvm::yaml::Hex64> SHOff; member
/external/llvm-project/llvm/test/Object/
Dinvalid.test591 ## Check the case when SHOff is too large. SHOff + sizeof(Elf_Shdr) overflows the uint64 type.