Searched refs:Sec (Results 51 - 75 of 108) sorted by relevance

12345

/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DARMEHABIPrinter.h402 for (const Elf_Shdr &Sec : unwrapOrError(FileName, ELF->sections())) {
403 if (Sec.sh_type != ELF::SHT_REL || Sec.sh_info != IndexSectionIndex)
406 auto SymTabOrErr = ELF->getSection(Sec.sh_link);
411 for (const Elf_Rel &R : unwrapOrError(FileName, ELF->rels(&Sec))) {
574 for (const Elf_Shdr &Sec : unwrapOrError(FileName, ELF->sections())) {
575 if (Sec.sh_type == ELF::SHT_ARM_EXIDX) {
579 if (auto SectionName = ELF->getSectionName(&Sec))
581 SW.printHex("SectionOffset", Sec.sh_offset);
583 PrintIndexTable(SectionIndex, &Sec);
[all...]
H A DCOFFDumper.cpp143 void printRelocatedField(StringRef Label, const coff_section *Sec,
155 void printBinaryBlockWithRelocs(StringRef Label, const SectionRef &Sec,
199 Sec = Obj->getCOFFSection(SR);
213 CD.printRelocatedField(Label, Sec, RelocOffset, Offset, RelocSym);
235 const coff_section *Sec; member in class:__anon5850::COFFObjectDumpDelegate
306 void COFFDumper::printRelocatedField(StringRef Label, const coff_section *Sec, argument
311 if (!resolveSymbolName(Sec, RelocOffset, Symbol))
318 const SectionRef &Sec,
332 const coff_section *Section = Obj->getCOFFSection(Sec);
337 printRelocation(Sec, Relocatio
317 printBinaryBlockWithRelocs(StringRef Label, const SectionRef &Sec, StringRef SectionContents, StringRef Block) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DCOFF.h794 const coff_section *toSec(DataRefImpl Sec) const;
902 void moveSectionNext(DataRefImpl &Sec) const override;
903 Expected<StringRef> getSectionName(DataRefImpl Sec) const override;
904 uint64_t getSectionAddress(DataRefImpl Sec) const override;
905 uint64_t getSectionIndex(DataRefImpl Sec) const override;
906 uint64_t getSectionSize(DataRefImpl Sec) const override;
908 getSectionContents(DataRefImpl Sec) const override;
909 uint64_t getSectionAlignment(DataRefImpl Sec) const override;
910 bool isSectionCompressed(DataRefImpl Sec) const override;
911 bool isSectionText(DataRefImpl Sec) cons
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/
H A DWriter.cpp27 for (Section &Sec : Obj.getMutableSections()) {
28 for (Relocation &R : Sec.Relocs) {
47 const Section *Sec = Obj.findSection(Sym.TargetSectionId); local
48 if (Sec == nullptr)
52 Sym.Sym.SectionNumber = Sec->Index;
63 SDSectionNumber = Sec->Index;
65 Sec = Obj.findSection(Sym.AssociativeComdatTargetSectionId);
66 if (Sec == nullptr)
71 SDSectionNumber = Sec->Index;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp95 unsigned Sec) {
104 uintptr_t SectionAddr = CommandAddr + SegmentLoadSize + Sec * SectionSize;
177 DataRefImpl Sec) {
179 MachO::section_64 Sect = O.getSection64(Sec);
182 MachO::section Sect = O.getSection(Sec);
296 const char *Sec = getSectionPtr(Obj, Load, J); local
297 Sections.push_back(Sec);
298 auto SectionOrErr = getStructOrErr<Section>(Obj, Sec);
1767 unsigned MachOObjectFile::getSectionType(SectionRef Sec) const {
1768 DataRefImpl DRI = Sec
94 getSectionPtr(const MachOObjectFile &O, MachOObjectFile::LoadCommandInfo L, unsigned Sec) argument
176 getSectionFlags(const MachOObjectFile &O, DataRefImpl Sec) argument
2475 DataRefImpl Sec; local
4264 const char *Sec = getSectionPtr(*this, L, Index); local
4270 const char *Sec = getSectionPtr(*this, L, Index); local
4410 DataRefImpl Sec; local
[all...]
H A DELF.cpp351 ELFFile<ELFT>::android_relas(const Elf_Shdr *Sec) const {
354 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec);
525 for (const Elf_Shdr &Sec : *SectionsOrError) {
526 if (Sec.sh_type == ELF::SHT_DYNAMIC) {
528 getSectionContentsAsArray<Elf_Dyn>(&Sec);
532 DynSecSize = Sec.sh_size;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFYAML.cpp1353 if (const auto *Sec = dyn_cast<ELFYAML::AddrsigSection>(C.get())) {
1354 if (!Sec->Symbols && !Sec->Content && !Sec->Size)
1357 if (Sec->Content || Sec->Size) {
1358 if (Sec->Size && Sec->Content &&
1359 (uint64_t)*Sec->Size < Sec
[all...]
H A DCOFFEmitter.cpp71 COFFYAML::Section &Sec = *i; local
75 StringRef Name = Sec.Name;
78 std::copy(Name.begin(), Name.end(), Sec.Header.Name);
87 Sec.Header.Name[0] = '/';
88 std::copy(str.begin(), str.end(), Sec.Header.Name + 1);
91 if (Sec.Alignment) {
92 if (Sec.Alignment > 8192) {
96 if (!isPowerOf2_32(Sec.Alignment)) {
100 Sec.Header.Characteristics |= (Log2_32(Sec
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCWinCOFFStreamer.cpp209 MCSection *Sec = getCurrentSectionOnly(); local
210 getAssembler().registerSection(*Sec);
211 if (Sec->getAlignment() < 4)
212 Sec->setAlignment(Align(4));
H A DMCContext.cpp475 MCSectionCOFF *MCContext::getAssociativeCOFFSection(MCSectionCOFF *Sec, argument
480 return Sec;
484 unsigned Characteristics = Sec->getCharacteristics();
487 return getCOFFSection(Sec->getSectionName(), Characteristics,
488 Sec->getKind(), KeySym->getName(),
492 return getCOFFSection(Sec->getSectionName(), Characteristics, Sec->getKind(),
677 [&](MCSection *Sec) { return !MCOS.mayHaveInstructions(*Sec); });
H A DWasmObjectWriter.cpp416 const auto &Sec = static_cast<const MCSectionWasm &>(S.getSection()); local
417 auto Pair = SectionFunctions.insert(std::make_pair(&Sec, &S));
420 Sec.getSectionName());
923 for (const auto &Sec : CustomSections) {
924 auto &Relocations = CustomSectionsRelocations[Sec.Section];
925 writeRelocSection(Sec.OutputIndex, Sec.Name, Relocations);
1017 auto *Sec = CustomSection.Section; local
1020 Sec->setSectionOffset(W.OS.tell() - Section.ContentsOffset);
1021 Asm.writeSectionData(W.OS, Sec, Layou
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFUnitIndex.h59 const SectionContribution *getOffset(DWARFSectionKind Sec) const;
H A DDWARFObject.h82 virtual Optional<RelocAddrEntry> find(const DWARFSection &Sec,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp317 const MCSection &Sec = Symbol->getSection(); local
318 if (!Asm.getContext().getAsmInfo()->isSectionAtomizableBySymbols(Sec))
356 const MCSection &Sec = Symbol->getSection(); local
357 Index = Sec.getOrdinal() + 1;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp150 object::section_iterator Sec = *SecOrErr; local
151 if (Sec == Obj.section_end())
153 uint64_t Index = Sec->getIndex();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFObjectWriter.cpp44 void addTargetSectionFlags(MCContext &Ctx, MCSectionELF &Sec) override;
250 MCSectionELF &Sec) {
258 if (Sec.getKind().isExecuteOnly() && !TextSection->hasInstructions()) {
249 addTargetSectionFlags(MCContext &Ctx, MCSectionELF &Sec) argument
H A DARMMachObjectWriter.cpp458 const MCSection &Sec = A->getSection(); local
459 Index = Sec.getOrdinal() + 1;
460 FixedValue += Writer->getSectionAddress(&Sec);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMachObjectWriter.cpp362 const MCSection &Sec = A->getSection(); local
363 Index = Sec.getOrdinal() + 1;
364 FixedValue += Writer->getSectionAddress(&Sec);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.cpp126 SectionRef Sec = Obj.getAnyRelocationSection(RelInfo); local
127 bool IsCode = Sec.isText();
128 if (auto SectionIDOrErr = findOrEmitSection(Obj, Sec, IsCode,
133 uint64_t Addr = Sec.getAddress();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFUnitIndex.cpp151 DWARFUnitIndex::Entry::getOffset(DWARFSectionKind Sec) const {
154 if (Index->ColumnKinds[i] == Sec)
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/
H A DDIContext.h257 /// with the same Sec should give the same address.
258 virtual uint64_t getSectionLoadAddress(const object::SectionRef &Sec) const {
273 virtual bool getLoadedSectionContents(const object::SectionRef &Sec,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp219 const MCSection &Sec = Symbol->getSection(); local
220 if (!Asm.getContext().getAsmInfo()->isSectionAtomizableBySymbols(Sec))
581 const MCSection &Sec = A->getSection(); local
582 Index = Sec.getOrdinal() + 1;
583 FixedValue += Writer->getSectionAddress(&Sec);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h83 getSectionLoadAddress(const object::SectionRef &Sec) const override;
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCELFObjectWriter.h96 virtual void addTargetSectionFlags(MCContext &Ctx, MCSectionELF &Sec);
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp998 for (SectionRef Sec : Obj.sections()) {
1000 Expected<section_iterator> RelocatedOrErr = Sec.getRelocatedSection();
1011 for (const RelocationRef &R : Sec.relocations())
1179 for (SectionRef Sec : Obj->sections())
1180 SectionAddresses.emplace_back(Sec.getAddress(), Sec);
1198 auto Sec = partition_point(
1202 if (Sec != SectionAddresses.begin()) {
1203 --Sec;
1204 AllSymbols[Sec
[all...]

Completed in 411 milliseconds

12345