Searched defs:SectionName (Results 1 - 25 of 27) sorted by relevance

12

/external/llvm/include/llvm/MC/
H A DMCSectionCOFF.h27 StringRef SectionName; member in class:llvm::MCSectionCOFF
49 : MCSection(SV_COFF, K), SectionName(Section),
62 StringRef getSectionName() const { return SectionName; }
64 return SectionName.str() + "_begin";
67 return SectionName.str() + "_end";
H A DMCSectionMachO.h28 char SectionName[16]; // Not necessarily null terminated! member in class:llvm::MCSectionMachO
50 // SectionName is not necessarily null terminated!
51 if (SectionName[15])
52 return StringRef(SectionName, 16);
53 return StringRef(SectionName);
H A DMCSectionELF.h31 /// SectionName - This is the name of the section. The referenced memory is
33 StringRef SectionName; member in class:llvm::MCSectionELF
53 : MCSection(SV_ELF, K), SectionName(Section), Type(type), Flags(flags),
57 void setSectionName(StringRef Name) { SectionName = Name; }
65 StringRef getSectionName() const { return SectionName; }
68 return (SectionName.str() + '_' + Group->getName() + "_begin").str();
69 return SectionName.str() + "_begin";
73 return (SectionName.str() + '_' + Group->getName() + "_end").str();
74 return SectionName.str() + "_end";
/external/llvm/lib/Target/XCore/
H A DXCoreTargetObjectFile.cpp125 StringRef SectionName = GV->getSection(); local
127 bool IsCPRel = SectionName.startswith(".cp.");
130 return getContext().getELFSection(SectionName, getXCoreSectionType(Kind),
/external/llvm/lib/ExecutionEngine/MCJIT/
H A DSectionMemoryManager.cpp24 StringRef SectionName,
34 StringRef SectionName) {
21 allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName, bool IsReadOnly) argument
31 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument
/external/llvm/tools/lli/
H A DRemoteMemoryManager.cpp34 StringRef SectionName) {
49 unsigned SectionID, StringRef SectionName,
33 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument
48 allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName, bool IsReadOnly) argument
/external/llvm/tools/llvm-readobj/
H A DMachODumper.cpp385 StringRef SectionName = ""; local
388 error(SecI->getName(SectionName));
402 W.printHex("Section", SectionName, MOSymbol.SectionIndex);
H A DARMWinEHPrinter.cpp731 StringRef SectionName; local
733 COFF.getSectionName(COFF.getCOFFSection(Section), SectionName))
736 if (SectionName.startswith(".pdata"))
H A DCOFFDumper.cpp737 StringRef SectionName = ""; local
739 Obj->getSectionName(Section, SectionName);
743 W.printNumber("Section", SectionName, Symbol->SectionNumber);
H A DELFDumper.cpp140 StringRef &SectionName, unsigned &SectionIndex) {
143 SectionName = "Undefined";
145 SectionName = "Processor Specific";
147 SectionName = "Operating System Specific";
149 SectionName = "Reserved";
151 SectionName = "Absolute";
153 SectionName = "Common";
160 SectionName = errorOrDefault(Obj.getSectionName(Sec));
714 StringRef SectionName; local
715 getSectionNameIndex(*Obj, Symbol, SectionName, SectionInde
139 getSectionNameIndex(const ELFO &Obj, typename ELFO::Elf_Sym_Iter Symbol, StringRef &SectionName, unsigned &SectionIndex) argument
1206 StringRef SectionName; local
[all...]
/external/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp92 StringRef SectionName) override;
94 unsigned SectionID, StringRef SectionName,
114 StringRef SectionName) {
123 StringRef SectionName,
111 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument
120 allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName, bool IsReadOnly) argument
/external/chromium_org/courgette/
H A Ddisassembler_win32_x64.cc325 std::string DisassemblerWin32X64::SectionName(const Section* section) { function in class:courgette::DisassemblerWin32X64
670 s << SectionName(section) << "+"
H A Ddisassembler_win32_x86.cc325 std::string DisassemblerWin32X86::SectionName(const Section* section) { function in class:courgette::DisassemblerWin32X86
670 s << SectionName(section) << "+"
/external/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp210 StringRef SectionName = GV->getSection(); local
213 Kind = getELFKindForNamedSection(SectionName, Kind);
221 return getContext().getELFSection(SectionName,
222 getELFSectionType(SectionName, Kind), Flags,
/external/llvm/lib/MC/MCParser/
H A DCOFFAsmParser.cpp43 bool ParseSectionName(StringRef &SectionName);
313 bool COFFAsmParser::ParseSectionName(StringRef &SectionName) { argument
317 SectionName = getTok().getIdentifier();
337 StringRef SectionName; local
339 if (ParseSectionName(SectionName))
387 ParseSectionSwitch(SectionName, Flags, Kind, COMDATSymName, Type);
H A DELFAsmParser.cpp152 bool ParseSectionName(StringRef &SectionName);
230 bool ELFAsmParser::ParseSectionName(StringRef &SectionName) { argument
237 SectionName = getTok().getIdentifier();
260 SectionName = StringRef(FirstLoc.getPointer(), Size);
405 StringRef SectionName; local
407 if (ParseSectionName(SectionName))
418 if (SectionName == ".fini" || SectionName == ".init" ||
419 SectionName == ".rodata")
421 if (SectionName
[all...]
H A DDarwinAsmParser.cpp549 StringRef SectionName; local
550 if (getParser().parseIdentifier(SectionName))
557 std::string SectionSpec = SectionName;
/external/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp257 std::string SectionName = ".mips16.call.fp." + Name; local
271 FStub->setSection(SectionName);
447 std::string SectionName = ".mips16.fn." + Name; local
458 FStub->setSection(SectionName);
H A DMipsAsmPrinter.cpp685 std::string SectionName = std::string(".mdebug.") + getCurrentABIString(); local
687 SectionName, ELF::SHT_PROGBITS, 0, SectionKind::getDataRel()));
/external/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITCAPITest.cpp107 unsigned SectionID, StringRef SectionName, bool IsReadOnly) {
110 SectionID, SectionName, IsReadOnly);
114 unsigned SectionID, StringRef SectionName) {
117 SectionID, SectionName);
106 allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName, bool IsReadOnly) argument
113 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument
/external/clang/lib/Sema/
H A DSemaAttr.cpp363 bool Sema::UnifySection(const StringRef &SectionName, argument
366 auto Section = SectionInfos.find(SectionName);
368 SectionInfos[SectionName] =
390 bool Sema::UnifySection(const StringRef &SectionName, argument
393 auto Section = SectionInfos.find(SectionName);
405 SectionInfos[SectionName] =
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp359 StringRef SectionName) override;
362 unsigned SectionID, StringRef SectionName,
392 StringRef SectionName) {
394 SectionName.str().c_str());
399 StringRef SectionName, bool isReadOnly) {
401 SectionName.str().c_str(),
390 allocateCodeSection( uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument
397 allocateDataSection( uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName, bool isReadOnly) argument
/external/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp331 StringRef SectionName; local
332 MachO->getSectionName(Ref, SectionName);
334 outs() << "(" << SegmentName << "," << SectionName << ") "; local
624 StringRef SectionName; local
625 Obj.getSectionName(Ref, SectionName);
627 if (SegmentName == "__TEXT" && SectionName == "__text")
629 else if (SegmentName == "__DATA" && SectionName == "__data")
631 else if (SegmentName == "__DATA" && SectionName == "__bss")
/external/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp795 StringRef SectionName; local
796 if (error(Section->getName(SectionName)))
797 SectionName = "";
798 outs() << SectionName;
/external/llvm/unittests/ExecutionEngine/JIT/
H A DJITTest.cpp141 StringRef SectionName, bool IsReadOnly) {
143 Size, Alignment, SectionID, SectionName, IsReadOnly);
147 StringRef SectionName) {
149 Size, Alignment, SectionID, SectionName);
139 allocateDataSection( uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName, bool IsReadOnly) argument
145 allocateCodeSection( uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument

Completed in 395 milliseconds

12