Home
last modified time | relevance | path

Searched refs:SectionName (Results 1 – 25 of 46) sorted by relevance

12

/external/llvm/include/llvm/MC/
DMCSectionELF.h33 StringRef SectionName; variable
53 : MCSection(SV_ELF, K), SectionName(Section), Type(type), Flags(flags), in MCSectionELF()
57 void setSectionName(StringRef Name) { SectionName = Name; } in setSectionName()
65 StringRef getSectionName() const { return SectionName; } in getSectionName()
68 return (SectionName.str() + '_' + Group->getName() + "_begin").str(); in getLabelBeginName()
69 return SectionName.str() + "_begin"; in getLabelBeginName()
73 return (SectionName.str() + '_' + Group->getName() + "_end").str(); in getLabelEndName()
74 return SectionName.str() + "_end"; in getLabelEndName()
DMCSectionCOFF.h27 StringRef SectionName; variable
49 : MCSection(SV_COFF, K), SectionName(Section), in MCSectionCOFF()
62 StringRef getSectionName() const { return SectionName; } in getSectionName()
64 return SectionName.str() + "_begin"; in getLabelBeginName()
67 return SectionName.str() + "_end"; in getLabelEndName()
DMCSectionMachO.h28 char SectionName[16]; // Not necessarily null terminated! variable
51 if (SectionName[15]) in getSectionName()
52 return StringRef(SectionName, 16); in getSectionName()
53 return StringRef(SectionName); in getSectionName()
/external/llvm/lib/MC/MCParser/
DELFAsmParser.cpp152 bool ParseSectionName(StringRef &SectionName);
230 bool ELFAsmParser::ParseSectionName(StringRef &SectionName) { in ParseSectionName() argument
237 SectionName = getTok().getIdentifier(); in ParseSectionName()
260 SectionName = StringRef(FirstLoc.getPointer(), Size); in ParseSectionName()
405 StringRef SectionName; in ParseSectionArguments() local
407 if (ParseSectionName(SectionName)) in ParseSectionArguments()
418 if (SectionName == ".fini" || SectionName == ".init" || in ParseSectionArguments()
419 SectionName == ".rodata") in ParseSectionArguments()
421 if (SectionName == ".fini" || SectionName == ".init") in ParseSectionArguments()
510 if (SectionName.startswith(".note")) in ParseSectionArguments()
[all …]
DCOFFAsmParser.cpp43 bool ParseSectionName(StringRef &SectionName);
313 bool COFFAsmParser::ParseSectionName(StringRef &SectionName) { in ParseSectionName() argument
317 SectionName = getTok().getIdentifier(); in ParseSectionName()
337 StringRef SectionName; in ParseDirectiveSection() local
339 if (ParseSectionName(SectionName)) in ParseDirectiveSection()
387 ParseSectionSwitch(SectionName, Flags, Kind, COMDATSymName, Type); in ParseDirectiveSection()
/external/llvm/test/tools/llvm-readobj/ARM/
Dunwind.s150 @ CHECK: SectionName: .ARM.exidx.personality
166 @ CHECK: SectionName: .ARM.exidx.personality0
182 @ CHECK: SectionName: .ARM.exidx.personality1
202 @ CHECK: SectionName: .ARM.exidx.custom_personality
215 @ CHECK: SectionName: .ARM.exidx.opcodes
230 @ CHECK: SectionName: .ARM.exidx.multiple
264 @ CHECK: SectionName: .ARM.exidx.raw
292 @ CHECK: SectionName: .ARM.exidx.spare
/external/llvm/include/llvm/ExecutionEngine/
DSectionMemoryManager.h52 StringRef SectionName) override;
60 unsigned SectionID, StringRef SectionName,
DRTDyldMemoryManager.h46 StringRef SectionName) = 0;
53 StringRef SectionName, bool IsReadOnly) = 0;
/external/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp359 StringRef SectionName) override;
362 unsigned SectionID, StringRef SectionName,
392 StringRef SectionName) { in allocateCodeSection() argument
394 SectionName.str().c_str()); in allocateCodeSection()
399 StringRef SectionName, bool isReadOnly) { in allocateDataSection() argument
401 SectionName.str().c_str(), in allocateDataSection()
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.h39 StringRef SectionName) override { in allocateCodeSection() argument
40 return ClientMM->allocateCodeSection(Size, Alignment, SectionID, SectionName); in allocateCodeSection()
44 unsigned SectionID, StringRef SectionName, in allocateDataSection() argument
47 SectionID, SectionName, IsReadOnly); in allocateDataSection()
DSectionMemoryManager.cpp24 StringRef SectionName, in allocateDataSection() argument
34 StringRef SectionName) { in allocateCodeSection() argument
/external/llvm/tools/lli/
DRemoteMemoryManager.h71 StringRef SectionName) override;
74 unsigned SectionID, StringRef SectionName,
DRemoteMemoryManager.cpp34 StringRef SectionName) { in allocateCodeSection() argument
49 unsigned SectionID, StringRef SectionName, in allocateDataSection() argument
/external/llvm/lib/Target/XCore/
DXCoreTargetObjectFile.cpp125 StringRef SectionName = GV->getSection(); in getExplicitSectionGlobal() local
127 bool IsCPRel = SectionName.startswith(".cp."); in getExplicitSectionGlobal()
130 return getContext().getELFSection(SectionName, getXCoreSectionType(Kind), in getExplicitSectionGlobal()
/external/clang/lib/Sema/
DSemaAttr.cpp363 bool Sema::UnifySection(const StringRef &SectionName, in UnifySection() argument
366 auto Section = SectionInfos.find(SectionName); in UnifySection()
368 SectionInfos[SectionName] = in UnifySection()
390 bool Sema::UnifySection(const StringRef &SectionName, in UnifySection() argument
393 auto Section = SectionInfos.find(SectionName); in UnifySection()
405 SectionInfos[SectionName] = in UnifySection()
/external/llvm/tools/llvm-readobj/
DELFDumper.cpp140 StringRef &SectionName, unsigned &SectionIndex) { in getSectionNameIndex() argument
143 SectionName = "Undefined"; in getSectionNameIndex()
145 SectionName = "Processor Specific"; in getSectionNameIndex()
147 SectionName = "Operating System Specific"; in getSectionNameIndex()
149 SectionName = "Reserved"; in getSectionNameIndex()
151 SectionName = "Absolute"; in getSectionNameIndex()
153 SectionName = "Common"; in getSectionNameIndex()
160 SectionName = errorOrDefault(Obj.getSectionName(Sec)); in getSectionNameIndex()
714 StringRef SectionName; in printSymbol() local
715 getSectionNameIndex(*Obj, Symbol, SectionName, SectionIndex); in printSymbol()
[all …]
DMachODumper.cpp385 StringRef SectionName = ""; in printSymbol() local
388 error(SecI->getName(SectionName)); in printSymbol()
402 W.printHex("Section", SectionName, MOSymbol.SectionIndex); in printSymbol()
/external/llvm/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp92 StringRef SectionName) override;
94 unsigned SectionID, StringRef SectionName,
114 StringRef SectionName) { in allocateCodeSection() argument
123 StringRef SectionName, in allocateDataSection() argument
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITCAPITest.cpp107 unsigned SectionID, StringRef SectionName, bool IsReadOnly) { in allocateDataSection() argument
110 SectionID, SectionName, IsReadOnly); in allocateDataSection()
114 unsigned SectionID, StringRef SectionName) { in allocateCodeSection() argument
117 SectionID, SectionName); in allocateCodeSection()
/external/llvm/include/llvm-c/
DExecutionEngine.h178 const char *SectionName);
181 const char *SectionName, LLVMBool IsReadOnly);
/external/llvm/lib/MC/
DMCSectionMachO.cpp84 SectionName[i] = Section[i]; in MCSectionMachO()
86 SectionName[i] = 0; in MCSectionMachO()
DMCSectionCOFF.cpp44 if (ShouldOmitSectionDirective(SectionName, MAI)) { in PrintSwitchToSection()
/external/llvm/lib/Target/Mips/
DMips16HardFloat.cpp257 std::string SectionName = ".mips16.call.fp." + Name; in assureFPCallStub() local
271 FStub->setSection(SectionName); in assureFPCallStub()
447 std::string SectionName = ".mips16.fn." + Name; in createFPFnStub() local
458 FStub->setSection(SectionName); in createFPFnStub()
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp331 StringRef SectionName; in darwinPrintSymbol() local
332 MachO->getSectionName(Ref, SectionName); in darwinPrintSymbol()
334 outs() << "(" << SegmentName << "," << SectionName << ") "; in darwinPrintSymbol()
624 StringRef SectionName; in getSymbolNMTypeChar() local
625 Obj.getSectionName(Ref, SectionName); in getSymbolNMTypeChar()
627 if (SegmentName == "__TEXT" && SectionName == "__text") in getSymbolNMTypeChar()
629 else if (SegmentName == "__DATA" && SectionName == "__data") in getSymbolNMTypeChar()
631 else if (SegmentName == "__DATA" && SectionName == "__bss") in getSymbolNMTypeChar()
/external/llvm/unittests/ExecutionEngine/JIT/
DJITTest.cpp141 StringRef SectionName, bool IsReadOnly) { in allocateDataSection() argument
143 Size, Alignment, SectionID, SectionName, IsReadOnly); in allocateDataSection()
147 StringRef SectionName) { in allocateCodeSection() argument
149 Size, Alignment, SectionID, SectionName); in allocateCodeSection()

12