Searched defs:Sec (Results 1 - 10 of 10) sorted by relevance

/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DObjectImage.h46 virtual void updateSectionAddress(const object::SectionRef &Sec, argument
H A DRuntimeDyldELF.cpp52 void updateSectionAddress(const SectionRef &Sec, uint64_t Addr);
90 virtual void updateSectionAddress(const SectionRef &Sec, uint64_t Addr) argument
92 DyldObj->updateSectionAddress(Sec, Addr);
121 const SectionRef &Sec,
123 DataRefImpl ShdrRef = Sec.getRawDataRefImpl();
120 updateSectionAddress( const SectionRef &Sec, uint64_t Addr) argument
/external/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp75 const MCSection *Sec = getContext().getELFSection(NameData, local
81 Streamer.SwitchSection(Sec);
/external/llvm/include/llvm/MC/
H A DMCContext.h261 void addMCLineSection(const MCSection *Sec, MCLineSection *Line) { argument
262 MCLineSections[Sec] = Line;
263 MCLineSectionOrder.push_back(Sec);
291 void setGenDwarfSection(const MCSection *Sec) { GenDwarfSection = Sec; } argument
/external/llvm/lib/Object/
H A DCOFFObjectFile.cpp75 const coff_section *COFFObjectFile::toSec(DataRefImpl Sec) const {
76 const coff_section *addr = reinterpret_cast<const coff_section*>(Sec.p);
286 DataRefImpl Sec;
287 Sec.p = reinterpret_cast<uintptr_t>(sec);
288 Result = section_iterator(SectionRef(Sec, this));
293 error_code COFFObjectFile::getSectionNext(DataRefImpl Sec, argument
295 const coff_section *sec = toSec(Sec);
297 Sec.p = reinterpret_cast<uintptr_t>(sec);
298 Result = SectionRef(Sec, this);
302 error_code COFFObjectFile::getSectionName(DataRefImpl Sec, argument
308 getSectionAddress(DataRefImpl Sec, uint64_t &Result) const argument
315 getSectionSize(DataRefImpl Sec, uint64_t &Result) const argument
322 getSectionContents(DataRefImpl Sec, StringRef &Result) const argument
331 getSectionAlignment(DataRefImpl Sec, uint64_t &Res) const argument
340 isSectionText(DataRefImpl Sec, bool &Result) const argument
347 isSectionData(DataRefImpl Sec, bool &Result) const argument
354 isSectionBSS(DataRefImpl Sec, bool &Result) const argument
361 isSectionRequiredForExecution(DataRefImpl Sec, bool &Result) const argument
368 isSectionVirtual(DataRefImpl Sec, bool &Result) const argument
375 isSectionZeroInit(DataRefImpl Sec, bool &Result) const argument
382 sectionContainsSymbol(DataRefImpl Sec, DataRefImpl Symb, bool &Result) const argument
649 getSectionName(const coff_section *Sec, StringRef &Res) const argument
672 getSectionContents(const coff_section *Sec, ArrayRef<uint8_t> &Res) const argument
[all...]
H A DMachOObjectFile.cpp445 std::size_t MachOObjectFile::getSectionIndex(DataRefImpl Sec) const {
447 std::find(Sections.begin(), Sections.end(), Sec);
448 assert(loc != Sections.end() && "Sec is not a valid section!");
582 error_code MachOObjectFile::isSectionRequiredForExecution(DataRefImpl Sec, argument
589 error_code MachOObjectFile::isSectionVirtual(DataRefImpl Sec, argument
615 error_code MachOObjectFile::sectionContainsSymbol(DataRefImpl Sec, argument
626 getSectionAddress(Sec, SectBegin);
627 getSectionSize(Sec, SectEnd);
645 relocation_iterator MachOObjectFile::getSectionRelBegin(DataRefImpl Sec) const {
647 ret.d.b = getSectionIndex(Sec);
[all...]
/external/llvm/utils/yaml2obj/
H A Dyaml2obj.cpp313 Section Sec; local
314 std::memset(&Sec.Header, 0, sizeof(Sec.Header));
335 std::fill_n(Sec.Header.Name, unsigned(COFF::NameSize), 0);
337 std::copy(Name.begin(), Name.end(), Sec.Header.Name);
346 Sec.Header.Name[0] = '/';
347 std::copy(str.begin(), str.end(), Sec.Header.Name + 1);
350 if (!getAs(Value, Sec.Header.VirtualSize)) {
355 if (!getAs(Value, Sec.Header.VirtualAddress)) {
360 if (!getAs(Value, Sec
[all...]
/external/llvm/lib/MC/
H A DWinCOFFObjectWriter.cpp370 MCSectionCOFF const &Sec = local
373 COFFSection *coff_section = createSection(Sec.getSectionName());
374 COFFSymbol *coff_symbol = createSymbol(Sec.getSectionName());
384 coff_symbol->Aux[0].Aux.SectionDefinition.Selection = Sec.getSelection();
386 coff_section->Header.Characteristics = Sec.getCharacteristics();
772 COFFSection *Sec = SectionMap[&i->getSection()]; local
774 if (Sec->Number == -1)
777 Sec->Header.SizeOfRawData = Layout.getSectionAddressSize(i);
779 if (IsPhysicalSection(Sec)) {
780 Sec
[all...]
H A DMCDwarf.cpp302 const MCSection *Sec = *it; local
303 const MCLineSection *Line = MCLineSections.lookup(Sec);
304 EmitDwarfLineTable(MCOS, Sec, Line);
/external/llvm/include/llvm/Object/
H A DELF.h550 virtual error_code getSectionNext(DataRefImpl Sec, SectionRef &Res) const;
551 virtual error_code getSectionName(DataRefImpl Sec, StringRef &Res) const;
552 virtual error_code getSectionAddress(DataRefImpl Sec, uint64_t &Res) const;
553 virtual error_code getSectionSize(DataRefImpl Sec, uint64_t &Res) const;
554 virtual error_code getSectionContents(DataRefImpl Sec, StringRef &Res) const;
555 virtual error_code getSectionAlignment(DataRefImpl Sec, uint64_t &Res) const;
556 virtual error_code isSectionText(DataRefImpl Sec, bool &Res) const;
557 virtual error_code isSectionData(DataRefImpl Sec, bool &Res) const;
558 virtual error_code isSectionBSS(DataRefImpl Sec, bool &Res) const;
559 virtual error_code isSectionRequiredForExecution(DataRefImpl Sec,
1033 DataRefImpl Sec; local
1042 getSectionNext(DataRefImpl Sec, SectionRef &Result) const argument
1052 getSectionName(DataRefImpl Sec, StringRef &Result) const argument
1061 getSectionAddress(DataRefImpl Sec, uint64_t &Result) const argument
1070 getSectionSize(DataRefImpl Sec, uint64_t &Result) const argument
1079 getSectionContents(DataRefImpl Sec, StringRef &Result) const argument
1089 getSectionContents(const Elf_Shdr *Sec, StringRef &Result) const argument
1098 getSectionAlignment(DataRefImpl Sec, uint64_t &Result) const argument
1107 isSectionText(DataRefImpl Sec, bool &Result) const argument
1119 isSectionData(DataRefImpl Sec, bool &Result) const argument
1132 isSectionBSS(DataRefImpl Sec, bool &Result) const argument
1145 isSectionRequiredForExecution(DataRefImpl Sec, bool &Result) const argument
1157 isSectionVirtual(DataRefImpl Sec, bool &Result) const argument
1168 isSectionZeroInit(DataRefImpl Sec, bool &Result) const argument
1182 sectionContainsSymbol(DataRefImpl Sec, DataRefImpl Symb, bool &Result) const argument
[all...]

Completed in 183 milliseconds