reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/GlobalObject.h
  117   void setSection(StringRef S);

References

lib/AsmParser/LLParser.cpp
 1116       GV->setSection(Lex.getStrVal());
 5497   Fn->setSection(Section);
lib/Bitcode/Reader/BitcodeReader.cpp
 3147     NewGV->setSection(Section);
 3253     Func->setSection(SectionTable[Record[6] - 1]);
lib/CodeGen/GlobalMerge.cpp
  520     MergedGV->setSection(Globals[i]->getSection());
lib/IR/AutoUpgrade.cpp
 4072     GV.setSection(TrimSpaces(Section));
lib/IR/Core.cpp
 1929   unwrap<GlobalObject>(Global)->setSection(Section);
lib/IR/Globals.cpp
  133   setSection(Src->getSection());
lib/Target/Mips/Mips16HardFloat.cpp
  278   FStub->setSection(SectionName);
  463   FStub->setSection(SectionName);
lib/Transforms/IPO/GlobalOpt.cpp
 2625   NV->setSection("llvm.metadata");
lib/Transforms/IPO/LowerTypeTests.cpp
 1260     WeakInitializerFn->setSection(
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1515   NewGV->setSection(B.GV->getSection());
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 2026   Metadata->setSection(getGlobalMetadataSection());
 2147     Liveness->setSection("__DATA,__asan_liveness,regular,live_support");
 2305         NewGlobal->setSection("__TEXT,__asan_cstring,regular");
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
 1304     Descriptor->setSection("hwasan_globals");
 1371   Note->setSection(".note.hwasan.globals");
 1396   Dummy->setSection("hwasan_globals");
lib/Transforms/Instrumentation/InstrOrderFile.cpp
   85     OrderFileBuffer->setSection(
lib/Transforms/Instrumentation/InstrProfiling.cpp
  786   CounterPtr->setSection(
  808       ValuesVar->setSection(
  842   Data->setSection(getInstrProfSectionName(IPSK_data, TT.getObjectFormat()));
  905   VNodesVar->setSection(
  929   NamesVar->setSection(
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  654   Array->setSection(getSectionName(Section));
lib/Transforms/Utils/ModuleUtils.cpp
   98   GV->setSection("llvm.metadata");
tools/clang/lib/CodeGen/BackendUtil.cpp
 1639   GV->setSection(getSectionNameForBitcode(T));
 1662     GV->setSection(getSectionNameForCommandline(T));
 1684   NewUsed->setSection("llvm.metadata");
tools/clang/lib/CodeGen/CGBlocks.cpp
 1458     InitVar->setSection(".CRT$XCLa");
tools/clang/lib/CodeGen/CGCUDANV.cpp
   90       GV->setSection(SectionName);
  566       cast<llvm::GlobalVariable>(FatBinStr)->setSection(FatbinConstantName);
  608   FatbinWrapper->setSection(FatbinSectionName);
tools/clang/lib/CodeGen/CGDecl.cpp
  426     var->setSection(SA->getName());
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  343       Fn->setSection(Section);
  422   PtrArray->setSection(ISA->getSection());
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 1099     ObjCStrGV->setSection(sectionName<ConstantStringSection>());
 1320       GV->setSection(sectionName<ProtocolReferenceSection>());
 1408     GV->setSection(sectionName<ProtocolSection>());
 1470     GV->setSection(sectionName<SelectorSection>());
 1497         Sym->setSection((Section + SecSuffix).str());
 1565         InitVar->setSection(".CRT$XCLz");
 1569         InitVar->setSection(".init_array");
 1571         InitVar->setSection(".ctors");
 1578       Cat->setSection(sectionName<CategorySection>());
 1588       GV->setSection(Section);
 1655       InitVar->setSection(".CRT$XCLb");
 1930     classRefSymbol->setSection(sectionName<ClassReferenceSection>());
 1975     classInitRef->setSection(sectionName<ClassSection>());
tools/clang/lib/CodeGen/CGObjCMac.cpp
 1866   GV->setSection(SectionName);
 2036   GV->setSection(CGM.getLangOpts().ObjCRuntime.isNonFragile()
 3083     Entry->setSection("__OBJC,__protocol,regular,no_dead_strip");
 3102     Entry->setSection("__OBJC,__protocol,regular,no_dead_strip");
 3609     GV->setSection(Section);
 3677   GV->setSection("__OBJC,__meta_class,regular,no_dead_strip");
 3999     GV->setSection(Section);
 4016     GV->setSection(Section);
 4063     GV->setSection(Section);
 6079   GV->setSection(SectionName);
 6320     GV->setSection("__DATA, __objc_data");
 6526   PTGV->setSection(GetSectionName("__objc_protorefs",
 6782     IvarOffsetGV->setSection("__DATA, __objc_ivar");
 6990   PTGV->setSection(GetSectionName("__objc_protolist",
 7190     messageRef->setSection(GetSectionName("__objc_msgrefs", "coalesced"));
 7342       Entry->setSection(SectionName);
 7380     Entry->setSection(SectionName);
 7404     Entry->setSection(SectionName);
 7501     Entry->setSection(SectionName);
 7752       Entry->setSection("__DATA,__objc_const");
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 4043   Entry->setSection("omp_offloading_entries");
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1739       GO->setSection(CSA->getName());
 1741       GO->setSection(SA->getName());
 1830     F->setSection(CSA->getName());
 1832      F->setSection(SA->getName());
 1920   GV->setSection("llvm.metadata");
 2170   gv->setSection(AnnotationSection);
 2183   gv->setSection(AnnotationSection);
 3522         GV->setSection(SA->getName());
 3530       GV->setSection(".cp.rodata");
 4749     GV->setSection(isUTF16 ? "__TEXT,__ustring"
 4754     GV->setSection(".rodata");
 4796     GV->setSection("cfstring");
 4799     GV->setSection("__DATA,__cfstring");
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
 1444   CovData->setSection(getCoverageSection(CGM));
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 2309     InitFuncPtr->setSection(".CRT$XDU");
 4079   GV->setSection(".xdata");
 4197   CTA->setSection(".xdata");
 4266   GV->setSection(".xdata");
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
  286       ASTSym->setSection("__CLANG,__clangast");
  289       ASTSym->setSection("clangast");
  291       ASTSym->setSection("__clangast");
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
  195     DummyEntry->setSection("omp_offloading_entries");
  251     Func->setSection(".text.startup");
  272     Func->setSection(".text.startup");
unittests/ExecutionEngine/Orc/LegacyRTDyldObjectLinkingLayerTest.cpp
   85   GV->setSection(".debug_str");
unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
   81   GV->setSection(".debug_str");
unittests/IR/FunctionTest.cpp
  129   F->setSection(".text.test");
  132   F->setSection("");
  134   F->setSection(".text.test");
  135   F->setSection(".text.test2");