Searched refs:Sec (Results 1 - 21 of 21) sorted by relevance

/freebsd-9.3-release/contrib/llvm/include/llvm/Object/
H A DMachO.h75 virtual error_code getSectionNext(DataRefImpl Sec, SectionRef &Res) const;
76 virtual error_code getSectionName(DataRefImpl Sec, StringRef &Res) const;
77 virtual error_code getSectionAddress(DataRefImpl Sec, uint64_t &Res) const;
78 virtual error_code getSectionSize(DataRefImpl Sec, uint64_t &Res) const;
79 virtual error_code getSectionContents(DataRefImpl Sec, StringRef &Res) const;
80 virtual error_code getSectionAlignment(DataRefImpl Sec, uint64_t &Res) const;
81 virtual error_code isSectionText(DataRefImpl Sec, bool &Res) const;
82 virtual error_code isSectionData(DataRefImpl Sec, bool &Res) const;
83 virtual error_code isSectionBSS(DataRefImpl Sec, bool &Res) const;
84 virtual error_code isSectionRequiredForExecution(DataRefImpl Sec,
[all...]
H A DELFObjectFile.h74 virtual error_code getSectionNext(DataRefImpl Sec, SectionRef &Res) const;
75 virtual error_code getSectionName(DataRefImpl Sec, StringRef &Res) const;
76 virtual error_code getSectionAddress(DataRefImpl Sec, uint64_t &Res) const;
77 virtual error_code getSectionSize(DataRefImpl Sec, uint64_t &Res) const;
78 virtual error_code getSectionContents(DataRefImpl Sec, StringRef &Res) const;
79 virtual error_code getSectionAlignment(DataRefImpl Sec, uint64_t &Res) const;
80 virtual error_code isSectionText(DataRefImpl Sec, bool &Res) const;
81 virtual error_code isSectionData(DataRefImpl Sec, bool &Res) const;
82 virtual error_code isSectionBSS(DataRefImpl Sec, bool &Res) const;
83 virtual error_code isSectionRequiredForExecution(DataRefImpl Sec,
411 DataRefImpl Sec; local
427 getSectionNext(DataRefImpl Sec, SectionRef &Result) const argument
434 getSectionName(DataRefImpl Sec, StringRef &Result) const argument
444 getSectionAddress(DataRefImpl Sec, uint64_t &Result) const argument
451 getSectionSize(DataRefImpl Sec, uint64_t &Result) const argument
458 getSectionContents(DataRefImpl Sec, StringRef &Result) const argument
466 getSectionAlignment(DataRefImpl Sec, uint64_t &Result) const argument
473 isSectionText(DataRefImpl Sec, bool &Result) const argument
480 isSectionData(DataRefImpl Sec, bool &Result) const argument
489 isSectionBSS(DataRefImpl Sec, bool &Result) const argument
499 isSectionRequiredForExecution(DataRefImpl Sec, bool &Result) const argument
506 isSectionVirtual(DataRefImpl Sec, bool &Result) const argument
513 isSectionZeroInit(DataRefImpl Sec, bool &Result) const argument
520 isSectionReadOnlyData(DataRefImpl Sec, bool &Result) const argument
528 sectionContainsSymbol(DataRefImpl Sec, DataRefImpl Symb, bool &Result) const argument
[all...]
H A DCOFF.h239 const coff_section *toSec(DataRefImpl Sec) const;
257 virtual error_code getSectionNext(DataRefImpl Sec, SectionRef &Res) const;
258 virtual error_code getSectionName(DataRefImpl Sec, StringRef &Res) const;
259 virtual error_code getSectionAddress(DataRefImpl Sec, uint64_t &Res) const;
260 virtual error_code getSectionSize(DataRefImpl Sec, uint64_t &Res) const;
261 virtual error_code getSectionContents(DataRefImpl Sec, StringRef &Res) const;
262 virtual error_code getSectionAlignment(DataRefImpl Sec, uint64_t &Res) const;
263 virtual error_code isSectionText(DataRefImpl Sec, bool &Res) const;
264 virtual error_code isSectionData(DataRefImpl Sec, bool &Res) const;
265 virtual error_code isSectionBSS(DataRefImpl Sec, boo
[all...]
H A DObjectFile.h303 virtual error_code getSectionNext(DataRefImpl Sec, SectionRef &Res) const = 0;
304 virtual error_code getSectionName(DataRefImpl Sec, StringRef &Res) const = 0;
305 virtual error_code getSectionAddress(DataRefImpl Sec, uint64_t &Res) const =0;
306 virtual error_code getSectionSize(DataRefImpl Sec, uint64_t &Res) const = 0;
307 virtual error_code getSectionContents(DataRefImpl Sec, StringRef &Res)const=0;
308 virtual error_code getSectionAlignment(DataRefImpl Sec, uint64_t &Res)const=0;
309 virtual error_code isSectionText(DataRefImpl Sec, bool &Res) const = 0;
310 virtual error_code isSectionData(DataRefImpl Sec, bool &Res) const = 0;
311 virtual error_code isSectionBSS(DataRefImpl Sec, bool &Res) const = 0;
312 virtual error_code isSectionRequiredForExecution(DataRefImpl Sec,
[all...]
H A DELF.h408 ErrorOr<ArrayRef<uint8_t> > getSectionContents(const Elf_Shdr *Sec) const;
525 ELFFile<ELFT>::getSectionContents(const Elf_Shdr *Sec) const {
526 if (Sec->sh_offset + Sec->sh_size > Buf->getBufferSize())
528 const uint8_t *Start = base() + Sec->sh_offset;
529 return ArrayRef<uint8_t>(Start, Sec->sh_size);
566 ELFFile<ELFT>::getRelocationSymbol(const Elf_Shdr *Sec, const RelT *Rel) const { argument
567 if (!Sec->sh_link)
569 const Elf_Shdr *SymTable = getSection(Sec->sh_link);
H A DCOFFYAML.h130 static void mapping(IO &IO, COFFYAML::Section &Sec);
/freebsd-9.3-release/contrib/llvm/lib/Object/
H A DCOFFObjectFile.cpp77 const coff_section *COFFObjectFile::toSec(DataRefImpl Sec) const {
78 const coff_section *addr = reinterpret_cast<const coff_section*>(Sec.p);
218 DataRefImpl Sec;
219 Sec.p = reinterpret_cast<uintptr_t>(sec);
220 Result = section_iterator(SectionRef(Sec, this));
230 error_code COFFObjectFile::getSectionNext(DataRefImpl Sec, argument
232 const coff_section *sec = toSec(Sec);
234 Sec.p = reinterpret_cast<uintptr_t>(sec);
235 Result = SectionRef(Sec, this);
239 error_code COFFObjectFile::getSectionName(DataRefImpl Sec, argument
245 getSectionAddress(DataRefImpl Sec, uint64_t &Result) const argument
252 getSectionSize(DataRefImpl Sec, uint64_t &Result) const argument
259 getSectionContents(DataRefImpl Sec, StringRef &Result) const argument
268 getSectionAlignment(DataRefImpl Sec, uint64_t &Res) const argument
277 isSectionText(DataRefImpl Sec, bool &Result) const argument
284 isSectionData(DataRefImpl Sec, bool &Result) const argument
291 isSectionBSS(DataRefImpl Sec, bool &Result) const argument
298 isSectionRequiredForExecution(DataRefImpl Sec, bool &Result) const argument
305 isSectionVirtual(DataRefImpl Sec, bool &Result) const argument
312 isSectionZeroInit(DataRefImpl Sec, bool &Result) const argument
319 isSectionReadOnlyData(DataRefImpl Sec, bool &Result) const argument
326 sectionContainsSymbol(DataRefImpl Sec, DataRefImpl Symb, bool &Result) const argument
723 getSectionName(const coff_section *Sec, StringRef &Res) const argument
746 getSectionContents(const coff_section *Sec, ArrayRef<uint8_t> &Res) const argument
[all...]
H A DMachOObjectFile.cpp245 unsigned Sec) {
254 uintptr_t SectionAddr = CommandAddr + SegmentLoadSize + Sec * SectionSize;
413 DataRefImpl Sec) {
415 MachO::section_64 Sect = O->getSection64(Sec);
418 MachO::section Sect = O->getSection(Sec);
445 const char *Sec = getSectionPtr(this, Load, J); local
446 Sections.push_back(Sec);
498 MachO::section_64 Sec = getSection64(SecRel); local
499 Delta = Sec.offset - Sec
244 getSectionPtr(const MachOObjectFile *O, MachOObjectFile::LoadCommandInfo L, unsigned Sec) argument
412 getSectionFlags(const MachOObjectFile *O, DataRefImpl Sec) argument
501 MachO::section Sec = getSection(SecRel); local
560 DataRefImpl Sec; local
651 getSectionNext(DataRefImpl Sec, SectionRef &Res) const argument
659 getSectionName(DataRefImpl Sec, StringRef &Result) const argument
666 getSectionAddress(DataRefImpl Sec, uint64_t &Res) const argument
678 getSectionSize(DataRefImpl Sec, uint64_t &Res) const argument
691 getSectionContents(DataRefImpl Sec, StringRef &Res) const argument
710 getSectionAlignment(DataRefImpl Sec, uint64_t &Res) const argument
725 isSectionText(DataRefImpl Sec, bool &Res) const argument
744 isSectionRequiredForExecution(DataRefImpl Sec, bool &Result) const argument
751 isSectionVirtual(DataRefImpl Sec, bool &Result) const argument
759 isSectionZeroInit(DataRefImpl Sec, bool &Res) const argument
767 isSectionReadOnlyData(DataRefImpl Sec, bool &Result) const argument
779 sectionContainsSymbol(DataRefImpl Sec, DataRefImpl Symb, bool &Result) const argument
1462 const char *Sec = getSectionPtr(this, L, Index); local
1468 const char *Sec = getSectionPtr(this, L, Index); local
[all...]
H A DObjectFile.cpp36 section_iterator ObjectFile::getRelocatedSection(DataRefImpl Sec) const {
37 return section_iterator(SectionRef(Sec, this));
H A DCOFFYAML.cpp264 void MappingTraits<COFFYAML::Section>::mapping(IO &IO, COFFYAML::Section &Sec) { argument
266 IO, Sec.Header.Characteristics);
267 IO.mapRequired("Name", Sec.Name);
269 IO.mapOptional("Alignment", Sec.Alignment);
270 IO.mapRequired("SectionData", Sec.SectionData);
271 IO.mapOptional("Relocations", Sec.Relocations);
/freebsd-9.3-release/contrib/llvm/include/llvm/ExecutionEngine/
H A DObjectImage.h47 virtual void updateSectionAddress(const object::SectionRef &Sec,
/freebsd-9.3-release/contrib/llvm/lib/MC/
H A DWinCOFFObjectWriter.cpp356 MCSectionCOFF const &Sec = local
359 COFFSection *coff_section = createSection(Sec.getSectionName());
360 COFFSymbol *coff_symbol = createSymbol(Sec.getSectionName());
370 coff_symbol->Aux[0].Aux.SectionDefinition.Selection = Sec.getSelection();
372 coff_section->Header.Characteristics = Sec.getCharacteristics();
794 COFFSection *Sec = SectionMap[&i->getSection()]; local
796 if (Sec->Number == -1)
799 Sec->Header.SizeOfRawData = Layout.getSectionAddressSize(i);
801 if (IsPhysicalSection(Sec)) {
802 Sec
[all...]
H A DMCDwarf.cpp330 const MCSection *Sec = *it; local
331 const MCLineSection *Line = MCLineSections.lookup(Sec);
332 EmitDwarfLineTable(MCOS, Sec, Line, CUID);
/freebsd-9.3-release/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DObjectImageCommon.h66 virtual void updateSectionAddress(const object::SectionRef &Sec, argument
H A DRuntimeDyldMachO.cpp380 SectionRef Sec = MachO->getRelocationSection(RE); local
381 Value.SectionID = findOrEmitSection(Obj, Sec, true, ObjSectionToID);
383 Sec.getAddress(Addr);
H A DRuntimeDyldELF.cpp61 void updateSectionAddress(const SectionRef &Sec, uint64_t Addr);
96 virtual void updateSectionAddress(const SectionRef &Sec, uint64_t Addr) argument
98 DyldObj->updateSectionAddress(Sec, Addr);
127 void DyldELFObject<ELFT>::updateSectionAddress(const SectionRef &Sec, argument
129 DataRefImpl ShdrRef = Sec.getRawDataRefImpl();
/freebsd-9.3-release/contrib/llvm/include/llvm/MC/
H A DMCContext.h326 void addMCLineSection(const MCSection *Sec, MCLineSection *Line) { argument
327 MCLineSections[Sec] = Line;
328 MCLineSectionOrder.push_back(Sec);
375 void setGenDwarfSection(const MCSection *Sec) { GenDwarfSection = Sec; } argument
/freebsd-9.3-release/contrib/llvm/tools/llvm-readobj/
H A DELFDumper.cpp60 void printRelocations(const Elf_Shdr *Sec);
61 void printRelocation(const Elf_Shdr *Sec, typename ELFO::Elf_Rela Rel);
550 void ELFDumper<ELFT>::printRelocations(const Elf_Shdr *Sec) { argument
551 switch (Sec->sh_type) {
553 for (typename ELFO::Elf_Rel_Iter RI = Obj->begin_rel(Sec),
554 RE = Obj->end_rel(Sec);
560 printRelocation(Sec, Rela);
564 for (typename ELFO::Elf_Rela_Iter RI = Obj->begin_rela(Sec),
565 RE = Obj->end_rela(Sec);
567 printRelocation(Sec, *R
574 printRelocation(const Elf_Shdr *Sec, typename ELFO::Elf_Rela Rel) argument
624 const Elf_Shdr *Sec = Obj->getSection(&*Symbol); local
[all...]
H A DMachODumper.cpp166 DataRefImpl Sec,
169 MachO::section Sect = Obj->getSection(Sec);
181 MachO::section_64 Sect = Obj->getSection64(Sec);
165 getSection(const MachOObjectFile *Obj, DataRefImpl Sec, MachOSection &Section) argument
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp74 const MCSection *Sec = getContext().getELFSection(NameData, local
80 Streamer.SwitchSection(Sec);
812 const MCSection *Sec = getDrectveSection(); local
813 Streamer.SwitchSection(Sec);
/freebsd-9.3-release/contrib/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp479 section_iterator Sec = Obj.end_sections(); local
480 Obj.getSymbolSection(Symb, Sec);
481 DataRefImpl Ref = Sec->getRawDataRefImpl();

Completed in 281 milliseconds