Searched defs:Section (Results 26 - 50 of 87) sorted by relevance

1234

/external/llvm/include/llvm/MC/
H A DMCStreamer.h292 /// @name Symbol & Section Management
354 /// @p Section. This is required to update CurSection.
357 void SwitchSection(const MCSection *Section, argument
359 assert(Section && "Cannot switch to a null section!");
362 if (MCSectionSubPair(Section, Subsection) != curSection) {
363 SectionStack.back().first = MCSectionSubPair(Section, Subsection);
364 ChangeSection(Section, Subsection);
369 /// emitted to @p Section. This is required to update CurSection. This
371 void SwitchSectionNoChange(const MCSection *Section, argument
373 assert(Section
[all...]
/external/llvm/include/llvm/Object/
H A DELFYAML.h63 StringRef Section; member in struct:llvm::ELFYAML::Symbol
73 struct Section { struct in namespace:llvm::ELFYAML
82 Section(SectionKind Kind) : Kind(Kind) {} function in struct:llvm::ELFYAML::Section
83 virtual ~Section();
85 struct RawContentSection : Section {
88 RawContentSection() : Section(SectionKind::RawContent) {}
89 static bool classof(const Section *S) {
99 struct RelocationSection : Section {
102 RelocationSection() : Section(SectionKind::Relocation) {}
103 static bool classof(const Section *
[all...]
/external/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterDwarf.cpp171 const MCSection &Section = SectionLabel->getSection(); local
175 assert((!Label->isInSection() || &Label->getSection() == &Section) &&
176 "Section offset using wrong section base for label");
180 if (Section.isBaseAddressKnownZero()) {
H A DDwarfUnit.h130 const MCSection *Section; member in class:llvm::DwarfUnit
159 void initSection(const MCSection *Section, MCSymbol *SectionSym) { argument
160 assert(!this->Section);
161 this->Section = Section;
164 Asm->GetTempSymbol(Section->getLabelBeginName(), getUniqueID());
166 Asm->GetTempSymbol(Section->getLabelEndName(), getUniqueID());
170 assert(Section);
171 return Section;
183 assert(Section);
[all...]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp257 void RuntimeDyldELF::resolveX86_64Relocation(const SectionEntry &Section, argument
266 uint64_t *Target = reinterpret_cast<uint64_t *>(Section.Address + Offset);
279 uint32_t *Target = reinterpret_cast<uint32_t *>(Section.Address + Offset);
289 uint32_t *Target = reinterpret_cast<uint32_t *>(Section.Address + Offset);
290 uint64_t FinalAddress = Section.LoadAddress + Offset;
304 reinterpret_cast<uint32_t *>(Section.ObjAddress + Offset);
305 uint32_t *Target = reinterpret_cast<uint32_t *>(Section.Address + Offset);
306 uint64_t FinalAddress = Section.LoadAddress + Offset;
317 reinterpret_cast<uint64_t *>(Section.ObjAddress + Offset);
318 uint64_t *Target = reinterpret_cast<uint64_t *>(Section
326 resolveX86Relocation(const SectionEntry &Section, uint64_t Offset, uint32_t Value, uint32_t Type, int32_t Addend) argument
358 resolveAArch64Relocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend) argument
[all...]
/external/llvm/lib/MC/
H A DMCMachOStreamer.cpp91 void EmitZerofill(const MCSection *Section, MCSymbol *Symbol = nullptr,
93 virtual void EmitTBSSSymbol(const MCSection *Section, MCSymbol *Symbol,
116 void MCMachOStreamer::ChangeSection(const MCSection *Section, argument
119 MCObjectStreamer::ChangeSection(Section, Subsection);
122 if (LabelSections && !HasSectionLabel[Section]) {
125 HasSectionLabel[Section] = true;
361 void MCMachOStreamer::EmitZerofill(const MCSection *Section, MCSymbol *Symbol, argument
363 MCSectionData &SectData = getAssembler().getOrCreateSectionData(*Section);
370 assert(Section->isVirtualSection() && "Section doe
392 EmitTBSSSymbol(const MCSection *Section, MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment) argument
[all...]
H A DWinCOFFStreamer.cpp201 const MCSection *Section = getContext().getObjectFileInfo()->getBSSSection(); local
202 MCSectionData &SectionData = getAssembler().getOrCreateSectionData(*Section);
209 AssignSection(Symbol, Section);
220 void MCWinCOFFStreamer::EmitZerofill(const MCSection *Section, argument
226 void MCWinCOFFStreamer::EmitTBSSSymbol(const MCSection *Section, argument
H A DMCContext.cpp203 // Section Management
207 getMachOSection(StringRef Segment, StringRef Section, argument
219 Name += Section;
226 return Entry = new (*this) MCSectionMachO(Segment, Section, TypeAndAttributes,
231 getELFSection(StringRef Section, unsigned Type, unsigned Flags, argument
233 return getELFSection(Section, Type, Flags, Kind, 0, "");
236 void MCContext::renameELFSection(const MCSectionELF *Section, StringRef Name) { argument
238 if (const MCSymbol *Group = Section->getGroup())
241 ELFUniquingMap.erase(SectionGroupPair(Section->getSectionName(), GroupName));
244 Section))
250 getELFSection(StringRef Section, unsigned Type, unsigned Flags, SectionKind Kind, unsigned EntrySize, StringRef Group) argument
281 getCOFFSection(StringRef Section, unsigned Characteristics, SectionKind Kind, StringRef COMDATSymName, int Selection) argument
307 getCOFFSection(StringRef Section, unsigned Characteristics, SectionKind Kind) argument
312 getCOFFSection(StringRef Section) argument
[all...]
H A DMCELFStreamer.cpp61 const MCSectionELF &Section = local
64 if (Section.getFlags() & ELF::SHF_TLS)
85 void MCELFStreamer::ChangeSection(const MCSection *Section, argument
90 const MCSymbol *Grp = static_cast<const MCSectionELF *>(Section)->getGroup();
93 this->MCObjectStreamer::ChangeSection(Section, Subsection);
242 const MCSection *Section = getAssembler().getContext().getELFSection(".bss", local
248 AssignSection(Symbol, Section);
520 const MCSection &Section = Symbol.getSection(); local
522 MCSectionData &SectData = getAssembler().getOrCreateSectionData(Section);
579 void MCELFStreamer::EmitZerofill(const MCSection *Section, MCSymbo argument
584 EmitTBSSSymbol(const MCSection *Section, MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment) argument
[all...]
/external/llvm/lib/Object/
H A DCOFFYAML.cpp20 Section::Section() { memset(&Header, 0, sizeof(COFF::section)); } function in class:llvm::COFFYAML::Section
378 void MappingTraits<COFFYAML::Section>::mapping(IO &IO, COFFYAML::Section &Sec) {
H A DObject.cpp73 // ObjectFile Section iterators
154 // Section Relocation iterators
155 LLVMRelocationIteratorRef LLVMGetRelocations(LLVMSectionIteratorRef Section) { argument
156 relocation_iterator SI = (*unwrap(Section))->relocation_begin();
164 LLVMBool LLVMIsRelocationIteratorAtEnd(LLVMSectionIteratorRef Section, argument
166 return (*unwrap(SI) == (*unwrap(Section))->relocation_end()) ? 1 : 0;
/external/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp231 const MCSectionMachO &Section = static_cast<const MCSectionMachO&>( local
233 if (Section.hasAttribute(MachO::S_ATTR_DEBUG))
412 Twine("Section too large, can't encode "
/external/llvm/tools/lli/
H A DRemoteMemoryManager.cpp99 Allocation &Section = UnmappedSections[i]; local
100 if (Section.IsCode) {
101 unsigned Size = Section.MB.size();
102 unsigned Align = Section.Alignment;
109 Offsets.push_back(std::pair<Allocation,uint64_t>(Section, CurOffset));
116 Allocation &Section = UnmappedSections[i]; local
117 if (!Section.IsCode) {
118 unsigned Size = Section.MB.size();
119 unsigned Align = Section.Alignment;
126 Offsets.push_back(std::pair<Allocation,uint64_t>(Section, CurOffse
157 const Allocation &Section = I->second; local
[all...]
/external/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp202 const coff_section *Section; local
203 if (std::error_code EC = resolveSectionAndAddress(Obj, Sym, Section, Addr))
205 if (std::error_code EC = Obj->getSectionContents(Section, Contents))
286 << "\n Critical Section Default Timeout: " << LoadConf->CriticalSectionDefaultTimeout
383 for (const SectionRef &Section : Obj->sections()) {
385 if (error(Section.getName(Name)))
390 const coff_section *Pdata = Obj->getCOFFSection(Section);
391 for (const RelocationRef &Reloc : Section.relocations())
/external/llvm/tools/llvm-readobj/
H A DMachODumper.cpp131 { "Section", 0xE }
160 MachOSection &Section) {
163 Section.Address = Sect.addr;
164 Section.Size = Sect.size;
165 Section.Offset = Sect.offset;
166 Section.Alignment = Sect.align;
167 Section.RelocationTableOffset = Sect.reloff;
168 Section.NumRelocationTableEntries = Sect.nreloc;
169 Section.Flags = Sect.flags;
170 Section
158 getSection(const MachOObjectFile *Obj, DataRefImpl Sec, MachOSection &Section) argument
[all...]
H A DARMAttributeParser.cpp22 { "Tag_Section", ARMBuildAttrs::Section },
622 case ARMBuildAttrs::Section:
646 void ARMAttributeParser::Parse(ArrayRef<uint8_t> Section) { argument
650 while (Offset < Section.size()) {
652 *reinterpret_cast<const support::ulittle32_t*>(Section.data() + Offset);
654 SW.startLine() << "Section " << ++SectionNumber << " {\n";
657 ParseSubsection(Section.data() + Offset, SectionLength);
H A DARMWinEHPrinter.cpp188 for (const auto &Section : COFF.sections()) {
192 if (std::error_code EC = Section.getAddress(Address))
194 if (std::error_code EC = Section.getSize(Size))
198 return Section;
224 const SectionRef &Section,
226 for (const auto &Relocation : Section.relocations()) {
522 const SectionRef &Section,
525 if (COFF.getSectionContents(COFF.getCOFFSection(Section), Contents))
529 if (Section.getAddress(SectionVA))
581 getRelocatedSymbol(COFF, Section, HandlerOffse
223 getRelocatedSymbol(const COFFObjectFile &, const SectionRef &Section, uint64_t Offset) argument
652 ErrorOr<SectionRef> Section = local
662 dumpPackedEntry(const object::COFFObjectFile &COFF, const SectionRef Section, uint64_t Offset, unsigned Index, const RuntimeFunction &RF) argument
699 dumpProcedureDataEntry(const COFFObjectFile &COFF, const SectionRef Section, unsigned Index, ArrayRef<uint8_t> Contents) argument
713 dumpProcedureData(const COFFObjectFile &COFF, const SectionRef Section) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
H A DSourceMap.js39 /** @type {!Array.<!SourceMapV3.Section>|undefined} */ this.sections;
47 SourceMapV3.Section = function()
189 * @param {!Array.<!SourceMapV3.Section>} sections
/external/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp456 } else if (Key == "Objective-C Image Info Section") {
482 StringRef Segment, Section;
486 MCSectionMachO::ParseSectionSpecifier(SectionVal, Segment, Section,
490 report_fatal_error("Invalid section specifier '" + Section + "': " +
495 getContext().getMachOSection(Segment, Section, TAA, StubSize,
518 StringRef Segment, Section; local
525 MCSectionMachO::ParseSectionSpecifier(GV->getSection(), Segment, Section,
536 getContext().getMachOSection(Segment, Section, TAA, StubSize, Kind);
557 const MCSection &Section) const {
558 const MCSectionMachO &SMO = static_cast<const MCSectionMachO&>(Section);
[all...]
/external/llvm/lib/DebugInfo/
H A DDWARFContext.h67 struct Section { struct in class:llvm::DWARFContext
174 virtual const Section &getInfoSection() = 0;
175 typedef MapVector<object::SectionRef, Section,
179 virtual const Section &getLocSection() = 0;
180 virtual const Section &getLocDWOSection() = 0;
183 virtual const Section &getLineSection() = 0;
184 virtual const Section &getLineDWOSection() = 0;
193 virtual const Section &getInfoDWOSection() = 0;
220 Section InfoSection;
223 Section LocSectio
[all...]
/external/llvm/lib/MC/MCParser/
H A DCOFFAsmParser.cpp35 bool ParseSectionSwitch(StringRef Section,
39 bool ParseSectionSwitch(StringRef Section, unsigned Characteristics,
292 bool COFFAsmParser::ParseSectionSwitch(StringRef Section, argument
295 return ParseSectionSwitch(Section, Characteristics, Kind, "", (COFF::COMDATType)0);
298 bool COFFAsmParser::ParseSectionSwitch(StringRef Section, argument
308 Section, Characteristics, Kind, COMDATSymName, Type));
H A DELFAsmParser.cpp34 bool ParseSectionSwitch(StringRef Section, unsigned Type, unsigned Flags,
194 bool ELFAsmParser::ParseSectionSwitch(StringRef Section, unsigned Type, argument
203 Section, Type, Flags, Kind),
455 return TokError("Section cannot specifiy a group name while also acting "
539 if (const MCSectionELF *Section =
541 if (const MCSymbol *Group = Section->getGroup()) {
/external/llvm/tools/yaml2obj/
H A Dyaml2elf.cpp133 const ELFYAML::RawContentSection &Section,
136 const ELFYAML::RelocationSection &Section,
297 if (!Sym.Section.empty()) {
299 if (SN2I.lookup(Sym.Section, Index)) {
300 errs() << "error: Unknown section referenced: '" << Sym.Section
316 const ELFYAML::RawContentSection &Section,
318 assert(Section.Size >= Section.Content.binary_size() &&
319 "Section size and section content are inconsistent");
321 Section
315 writeSectionContent(Elf_Shdr &SHeader, const ELFYAML::RawContentSection &Section, ContiguousBlobAccumulator &CBA) argument
330 writeSectionContent(Elf_Shdr &SHeader, const ELFYAML::RelocationSection &Section, ContiguousBlobAccumulator &CBA) argument
[all...]
/external/clang/lib/Sema/
H A DSemaAttr.cpp366 auto Section = SectionInfos.find(SectionName); local
367 if (Section == SectionInfos.end()) {
373 if (Section->second.SectionFlags == SectionFlags ||
374 !(Section->second.SectionFlags & PSF_Implicit))
376 auto OtherDecl = Section->second.Decl;
393 auto Section = SectionInfos.find(SectionName); local
394 if (Section != SectionInfos.end()) {
395 if (Section->second.SectionFlags == SectionFlags)
397 if (!(Section->second.SectionFlags & PSF_Implicit)) {
400 Diag(Section
[all...]
/external/deqp/framework/common/
H A DtcuTestLog.hpp68 * log << TestLog::Section("Details", "Test case details")
94 typedef LogSection Section; typedef in class:tcu::TestLog
113 TestLog& operator<< (const Section& section);
402 // Section helper that closes section when leaving scope.
409 m_log << TestLog::Section(name, description);
426 inline TestLog& TestLog::operator<< (const Section& section) { section.write(*this); return *this; }

Completed in 288 milliseconds

1234