/freebsd-9.3-release/contrib/llvm/include/llvm/Object/ |
H A D | MachO.h | 75 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 D | ELFObjectFile.h | 74 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 D | COFF.h | 239 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 D | ObjectFile.h | 303 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 D | ELF.h | 408 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 D | COFFYAML.h | 130 static void mapping(IO &IO, COFFYAML::Section &Sec);
|
/freebsd-9.3-release/contrib/llvm/lib/Object/ |
H A D | COFFObjectFile.cpp | 77 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 D | MachOObjectFile.cpp | 245 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 D | ObjectFile.cpp | 36 section_iterator ObjectFile::getRelocatedSection(DataRefImpl Sec) const { 37 return section_iterator(SectionRef(Sec, this));
|
H A D | COFFYAML.cpp | 264 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 D | ObjectImage.h | 47 virtual void updateSectionAddress(const object::SectionRef &Sec,
|
/freebsd-9.3-release/contrib/llvm/lib/MC/ |
H A D | WinCOFFObjectWriter.cpp | 356 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 D | MCDwarf.cpp | 330 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 D | ObjectImageCommon.h | 66 virtual void updateSectionAddress(const object::SectionRef &Sec, argument
|
H A D | RuntimeDyldMachO.cpp | 380 SectionRef Sec = MachO->getRelocationSection(RE); local 381 Value.SectionID = findOrEmitSection(Obj, Sec, true, ObjSectionToID); 383 Sec.getAddress(Addr);
|
H A D | RuntimeDyldELF.cpp | 61 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 D | MCContext.h | 326 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 D | ELFDumper.cpp | 60 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 D | MachODumper.cpp | 166 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 D | TargetLoweringObjectFileImpl.cpp | 74 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 D | llvm-nm.cpp | 479 section_iterator Sec = Obj.end_sections(); local 480 Obj.getSymbolSection(Symb, Sec); 481 DataRefImpl Ref = Sec->getRawDataRefImpl();
|