/external/llvm/lib/Object/ |
ModuleSummaryIndexObjectFile.cpp | 38 for (const SectionRef &Sec : Obj.sections()) { 39 if (Sec.isBitcode()) { 41 if (std::error_code EC = Sec.getContents(SecContents))
|
MachOObjectFile.cpp | 77 unsigned Sec) { 86 uintptr_t SectionAddr = CommandAddr + SegmentLoadSize + Sec * SectionSize; 162 DataRefImpl Sec) { 164 MachO::section_64 Sect = O->getSection64(Sec); 167 MachO::section Sect = O->getSection(Sec); 241 const char *Sec = getSectionPtr(Obj, Load, J); 242 Sections.push_back(Sec); 460 unsigned MachOObjectFile::getSectionType(SectionRef Sec) const { 461 DataRefImpl DRI = Sec.getRawDataRefImpl(); 528 section_iterator Sec = *SecOrError [all...] |
ObjectFile.cpp | 61 bool ObjectFile::isSectionBitcode(DataRefImpl Sec) const { 63 if (!getSectionName(Sec, SectName)) 68 section_iterator ObjectFile::getRelocatedSection(DataRefImpl Sec) const { 69 return section_iterator(SectionRef(Sec, this));
|
/external/swiftshader/third_party/LLVM/include/llvm/Object/ |
ObjectFile.h | 239 virtual error_code getSectionNext(DataRefImpl Sec, SectionRef &Res) const = 0; 240 virtual error_code getSectionName(DataRefImpl Sec, StringRef &Res) const = 0; 241 virtual error_code getSectionAddress(DataRefImpl Sec, uint64_t &Res) const =0; 242 virtual error_code getSectionSize(DataRefImpl Sec, uint64_t &Res) const = 0; 243 virtual error_code getSectionContents(DataRefImpl Sec, StringRef &Res)const=0; 244 virtual error_code getSectionAlignment(DataRefImpl Sec, uint64_t &Res)const=0; 245 virtual error_code isSectionText(DataRefImpl Sec, bool &Res) const = 0; 246 virtual error_code isSectionData(DataRefImpl Sec, bool &Res) const = 0; 247 virtual error_code isSectionBSS(DataRefImpl Sec, bool &Res) const = 0; 248 virtual error_code sectionContainsSymbol(DataRefImpl Sec, DataRefImpl Symb [all...] |
/external/llvm/tools/yaml2obj/ |
yaml2elf.cpp | 194 for (const auto &Sec : Doc.Sections) 195 DotShStrtab.add(Sec->Name); 198 for (const auto &Sec : Doc.Sections) { 200 SHeader.sh_name = DotShStrtab.getOffset(Sec->Name); 201 SHeader.sh_type = Sec->Type; 202 SHeader.sh_flags = Sec->Flags; 203 SHeader.sh_addr = Sec->Address; 204 SHeader.sh_addralign = Sec->AddressAlign; 206 if (!Sec->Link.empty()) { 208 if (SN2I.lookup(Sec->Link, Index)) [all...] |
/prebuilts/go/darwin-x86/src/syscall/ |
syscall_dragonfly_amd64.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: sec, Nsec: nsec} 13 func setTimeval(sec, usec int64) Timeval { 14 return Timeval{Sec: sec, Usec: usec}
|
syscall_freebsd_amd64.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: sec, Nsec: nsec} 13 func setTimeval(sec, usec int64) Timeval { 14 return Timeval{Sec: sec, Usec: usec}
|
syscall_freebsd_arm.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: sec, Nsec: int32(nsec)} 13 func setTimeval(sec, usec int64) Timeval { 14 return Timeval{Sec: sec, Usec: int32(usec)}
|
syscall_darwin_386.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: int32(sec), Nsec: int32(nsec)} 13 func setTimeval(sec, usec int64) Timeval { 14 return Timeval{Sec: int32(sec), Usec: int32(usec)} 17 //sysnb gettimeofday(tp *Timeval) (sec int32, usec int32, err error) 24 sec, usec, err := gettimeofday(tv) 28 if sec != 0 || usec != 0 { 29 tv.Sec = int32(sec [all...] |
syscall_darwin_amd64.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: sec, Nsec: nsec} 13 func setTimeval(sec, usec int64) Timeval { 14 return Timeval{Sec: sec, Usec: int32(usec)} 17 //sysnb gettimeofday(tp *Timeval) (sec int64, usec int32, err error) 24 sec, usec, err := gettimeofday(tv) 28 if sec != 0 || usec != 0 { 29 tv.Sec = se [all...] |
syscall_darwin_arm.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: int32(sec), Nsec: int32(nsec)} 13 func setTimeval(sec, usec int64) Timeval { 14 return Timeval{Sec: int32(sec), Usec: int32(usec)} 17 //sysnb gettimeofday(tp *Timeval) (sec int32, usec int32, err error) 22 sec, usec, err := gettimeofday(tv) 26 if sec != 0 || usec != 0 { 27 tv.Sec = int32(sec [all...] |
syscall_darwin_arm64.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: int64(sec), Nsec: int64(nsec)} 13 func setTimeval(sec, usec int64) Timeval { 14 return Timeval{Sec: int64(sec), Usec: int32(usec)} 17 //sysnb gettimeofday(tp *Timeval) (sec int64, usec int32, err error) 22 sec, usec, err := gettimeofday(tv) 26 if sec != 0 || usec != 0 { 27 tv.Sec = se [all...] |
/prebuilts/go/linux-x86/src/syscall/ |
syscall_dragonfly_amd64.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: sec, Nsec: nsec} 13 func setTimeval(sec, usec int64) Timeval { 14 return Timeval{Sec: sec, Usec: usec}
|
syscall_freebsd_amd64.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: sec, Nsec: nsec} 13 func setTimeval(sec, usec int64) Timeval { 14 return Timeval{Sec: sec, Usec: usec}
|
syscall_freebsd_arm.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: sec, Nsec: int32(nsec)} 13 func setTimeval(sec, usec int64) Timeval { 14 return Timeval{Sec: sec, Usec: int32(usec)}
|
syscall_darwin_386.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: int32(sec), Nsec: int32(nsec)} 13 func setTimeval(sec, usec int64) Timeval { 14 return Timeval{Sec: int32(sec), Usec: int32(usec)} 17 //sysnb gettimeofday(tp *Timeval) (sec int32, usec int32, err error) 24 sec, usec, err := gettimeofday(tv) 28 if sec != 0 || usec != 0 { 29 tv.Sec = int32(sec [all...] |
syscall_darwin_amd64.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: sec, Nsec: nsec} 13 func setTimeval(sec, usec int64) Timeval { 14 return Timeval{Sec: sec, Usec: int32(usec)} 17 //sysnb gettimeofday(tp *Timeval) (sec int64, usec int32, err error) 24 sec, usec, err := gettimeofday(tv) 28 if sec != 0 || usec != 0 { 29 tv.Sec = se [all...] |
syscall_darwin_arm.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: int32(sec), Nsec: int32(nsec)} 13 func setTimeval(sec, usec int64) Timeval { 14 return Timeval{Sec: int32(sec), Usec: int32(usec)} 17 //sysnb gettimeofday(tp *Timeval) (sec int32, usec int32, err error) 22 sec, usec, err := gettimeofday(tv) 26 if sec != 0 || usec != 0 { 27 tv.Sec = int32(sec [all...] |
syscall_darwin_arm64.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: int64(sec), Nsec: int64(nsec)} 13 func setTimeval(sec, usec int64) Timeval { 14 return Timeval{Sec: int64(sec), Usec: int32(usec)} 17 //sysnb gettimeofday(tp *Timeval) (sec int64, usec int32, err error) 22 sec, usec, err := gettimeofday(tv) 26 if sec != 0 || usec != 0 { 27 tv.Sec = se [all...] |
/external/swiftshader/third_party/LLVM/lib/MC/ |
WinCOFFObjectWriter.cpp | 368 MCSectionCOFF const &Sec = 371 COFFSection *coff_section = createSection(Sec.getSectionName()); 372 COFFSymbol *coff_symbol = createSymbol(Sec.getSectionName()); 382 coff_symbol->Aux[0].Aux.SectionDefinition.Selection = Sec.getSelection(); 384 coff_section->Header.Characteristics = Sec.getCharacteristics(); 793 COFFSection *Sec = SectionMap[&i->getSection()]; 795 if (Sec->Number == -1) 798 Sec->Header.SizeOfRawData = Layout.getSectionAddressSize(i); 800 if (IsPhysicalSection(Sec)) { 801 Sec->Header.PointerToRawData = offset [all...] |
/external/llvm/lib/MC/ |
ELFObjectWriter.cpp | 124 unsigned addToSectionTable(const MCSectionELF *Sec); 204 const MCSectionELF &Sec); 215 void writeSectionData(const MCAssembler &Asm, MCSection &Sec, 223 void writeRelocations(const MCAssembler &Asm, const MCSectionELF &Sec); 244 unsigned ELFObjectWriter::addToSectionTable(const MCSectionELF *Sec) { 245 SectionTable.push_back(Sec); 246 StrTabBuilder.add(Sec->getSectionName()); 334 WriteWord(0); // e_shoff = sec hdr table off in bytes 376 for (const MCSection &Sec : Asm) { 377 const MCSymbol *Begin = Sec.getBeginSymbol() [all...] |
MCAssembler.cpp | 563 void MCAssembler::writeSectionData(const MCSection *Sec, 566 if (Sec->isVirtualSection()) { 567 assert(Layout.getSectionFileSize(Sec) == 0 && "Invalid size for section!"); 570 for (const MCFragment &F : *Sec) { 582 if (auto *ELFSec = dyn_cast<const MCSectionELF>(Sec)) 610 for (const MCFragment &F : *Sec) 614 Layout.getSectionAddressSize(Sec)); 642 for (MCSection &Sec : *this) { 645 if (Sec.getFragmentList().empty()) 646 new MCDataFragment(&Sec); [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonTargetObjectFile.cpp | 60 static bool isSmallDataSection(StringRef Sec) { 63 if (Sec.equals(".sdata") || Sec.equals(".sbss") || Sec.equals(".scommon")) 67 return Sec.find(".sdata.") != StringRef::npos || 68 Sec.find(".sbss.") != StringRef::npos || 69 Sec.find(".scommon.") != StringRef::npos;
|
/external/llvm/tools/llvm-cxxdump/ |
llvm-cxxdump.cpp | 78 const SectionRef &Sec, uint64_t SecAddress, 83 for (const SectionRef &SR : SectionRelocMap[Sec]) { 102 const ObjectFile *Obj, const SectionRef &Sec, uint64_t SecAddress, 107 for (const SectionRef &SR : SectionRelocMap[Sec]) { 195 const SectionRef &Sec = *SecI; 197 if (Sec.isBSS() || Sec.isVirtual()) 200 error(Sec.getContents(SecContents)); 204 uint64_t SecAddress = Sec.getAddress(); 205 uint64_t SecSize = Sec.getSize() [all...] |
/external/swiftshader/third_party/LLVM/lib/Object/ |
ELFObjectFile.cpp | 336 virtual error_code getSectionNext(DataRefImpl Sec, SectionRef &Res) const; 337 virtual error_code getSectionName(DataRefImpl Sec, StringRef &Res) const; 338 virtual error_code getSectionAddress(DataRefImpl Sec, uint64_t &Res) const; 339 virtual error_code getSectionSize(DataRefImpl Sec, uint64_t &Res) const; 340 virtual error_code getSectionContents(DataRefImpl Sec, StringRef &Res) const; 341 virtual error_code getSectionAlignment(DataRefImpl Sec, uint64_t &Res) const; 342 virtual error_code isSectionText(DataRefImpl Sec, bool &Res) const; 343 virtual error_code isSectionData(DataRefImpl Sec, bool &Res) const; 344 virtual error_code isSectionBSS(DataRefImpl Sec, bool &Res) const; 345 virtual error_code sectionContainsSymbol(DataRefImpl Sec, DataRefImpl Symb 656 const uint8_t *sec = reinterpret_cast<const uint8_t *>(Sec.p); local 667 const Elf_Shdr *sec = reinterpret_cast<const Elf_Shdr *>(Sec.p); local 676 const Elf_Shdr *sec = reinterpret_cast<const Elf_Shdr *>(Sec.p); local 685 const Elf_Shdr *sec = reinterpret_cast<const Elf_Shdr *>(Sec.p); local 694 const Elf_Shdr *sec = reinterpret_cast<const Elf_Shdr *>(Sec.p); local 704 const Elf_Shdr *sec = reinterpret_cast<const Elf_Shdr *>(Sec.p); local 713 const Elf_Shdr *sec = reinterpret_cast<const Elf_Shdr *>(Sec.p); local 725 const Elf_Shdr *sec = reinterpret_cast<const Elf_Shdr *>(Sec.p); local 738 const Elf_Shdr *sec = reinterpret_cast<const Elf_Shdr *>(Sec.p); local 762 const Elf_Shdr *sec = reinterpret_cast<const Elf_Shdr *>(Sec.p); local 777 const Elf_Shdr *sec = reinterpret_cast<const Elf_Shdr *>(Sec.p); local 825 const Elf_Shdr *sec = getSection(Rel.w.b); local 853 const Elf_Shdr *sec = getSection(Rel.w.b); local 875 const Elf_Shdr *sec = getSection(Rel.w.b); local 898 const Elf_Shdr *sec = getSection(Rel.w.b); local 1011 const Elf_Shdr *sec = getSection(Rel.w.b); local 1030 const Elf_Shdr *sec = getSection(Rel.w.b); local 1328 const Elf_Shdr *sec = getSection(Symb.d.b); local [all...] |