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

Overridden By

lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
   93 void MipsELFStreamer::SwitchSection(MCSection *Section,

Declarations

include/llvm/MC/MCStreamer.h
  409   virtual void SwitchSection(MCSection *Section,

References

include/llvm/MC/MCStreamer.h
  401     SwitchSection(SectionStack.back().first.first, Subsection);
lib/CodeGen/AsmPrinter/AccelTable.cpp
  571   Asm->OutStreamer->SwitchSection(
lib/CodeGen/AsmPrinter/AddressPool.cpp
   52   Asm.OutStreamer->SwitchSection(AddrSection);
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  588       OutStreamer->SwitchSection(TheSection);
  602     OutStreamer->SwitchSection(TLVSect);
  623   OutStreamer->SwitchSection(TheSection);
  662   OutStreamer->SwitchSection(getObjFileLowering().SectionForGlobal(&F, TM));
  998   OutStreamer->SwitchSection(StackSizeSection);
 1378   OutStreamer->SwitchSection(RemarksSection);
 1430       OutStreamer->SwitchSection(TLOF.getDataSection());
 1454         OutStreamer->SwitchSection(OutContext.getCOFFSection(
 1533     OutStreamer->SwitchSection(ReadOnlySection);
 1547     OutStreamer->SwitchSection(
 1550       OutStreamer->SwitchSection(
 1559       OutStreamer->SwitchSection(S);
 1571         OutStreamer->SwitchSection(TLOF.getDrectveSection());
 1597             OutStreamer->SwitchSection(TLOF.getDrectveSection());
 1624       OutStreamer->SwitchSection(OutContext.getELFSection(
 1760         OutStreamer->SwitchSection(CPSections[i].S);
 1805     OutStreamer->SwitchSection(ReadOnlySection);
 2042     OutStreamer->SwitchSection(OutputSection);
 2074   OutStreamer->SwitchSection(CommandLine);
 3160   OutStreamer->SwitchSection(InstMap);
 3171   OutStreamer->SwitchSection(FnSledIndex);
 3175   OutStreamer->SwitchSection(PrevSection);
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  642   OS.SwitchSection(Asm->getObjFileLowering().getCOFFDebugTypesSection());
  675   OS.SwitchSection(Asm->getObjFileLowering().getCOFFGlobalTypeHashesSection());
  933   OS.SwitchSection(DebugSec);
lib/CodeGen/AsmPrinter/DIE.cpp
  173     AP->OutStreamer->SwitchSection(Section);
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 1933   Asm->OutStreamer->SwitchSection(Section);
 2052     Asm->OutStreamer->SwitchSection(
 2057     Asm->OutStreamer->SwitchSection(
 2440     Asm->OutStreamer->SwitchSection(
 2444     Asm->OutStreamer->SwitchSection(
 2457     Asm->OutStreamer->SwitchSection(
 2561   Asm->OutStreamer->SwitchSection(
 2679     Asm->OutStreamer->SwitchSection(
 2683     Asm->OutStreamer->SwitchSection(
 2707   Asm->OutStreamer->SwitchSection(
 2759   Asm->OutStreamer->SwitchSection(
lib/CodeGen/AsmPrinter/DwarfFile.cpp
   51   Asm->OutStreamer->SwitchSection(S);
lib/CodeGen/AsmPrinter/DwarfStringPool.cpp
   60   Asm.OutStreamer->SwitchSection(Section);
   83   Asm.OutStreamer->SwitchSection(StrSection);
  122     Asm.OutStreamer->SwitchSection(OffsetSection);
lib/CodeGen/AsmPrinter/EHStreamer.cpp
  428     Asm->OutStreamer->SwitchSection(LSDASection);
lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp
   50   OS.SwitchSection(
lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
   75   AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getTextSection());
   78   AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getDataSection());
  102   AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getTextSection());
  105   AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getDataSection());
  111   AP.OutStreamer->SwitchSection(AP.getObjFileLowering().getDataSection());
lib/CodeGen/AsmPrinter/WinCFGuard.cpp
   53   OS.SwitchSection(Asm->OutContext.getObjectFileInfo()->getGFIDsSection());
   58   OS.SwitchSection(Asm->OutContext.getObjectFileInfo()->getGLJMPSection());
lib/CodeGen/AsmPrinter/WinException.cpp
  149     Asm->OutStreamer->SwitchSection(XData);
  242     Asm->OutStreamer->SwitchSection(CurrentFuncletTextSection);
  266       Asm->OutStreamer->SwitchSection(XData);
  290     Asm->OutStreamer->SwitchSection(CurrentFuncletTextSection);
lib/CodeGen/FaultMaps.cpp
   59   OS.SwitchSection(FaultMapSection);
lib/CodeGen/StackMaps.cpp
  564   OS.SwitchSection(StackMapSection);
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  274     Streamer.SwitchSection(S);
  290     Streamer.SwitchSection(S);
  306     Streamer.SwitchSection(S);
  379   Streamer.SwitchSection(Sec);
  920   Streamer.SwitchSection(S);
 1451     Streamer.SwitchSection(Sec);
 1474   Streamer.SwitchSection(S);
lib/MC/ConstantPools.cpp
   82     Streamer.SwitchSection(Section);
lib/MC/MCAsmStreamer.cpp
 2019       SwitchSection(getContext().getObjectFileInfo()->getDwarfLineSection());
lib/MC/MCDwarf.cpp
  222   MCOS->SwitchSection(Ctx.getObjectFileInfo()->getDwarfLineSection());
  249   MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfLineSection());
  265   MCOS.SwitchSection(Section);
  312   MCOS->SwitchSection(
  801   MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfAbbrevSection());
  860   MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfARangesSection());
  931   MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfInfoSection());
 1106   MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfRangesSection());
 1165   MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfInfoSection());
 1170   MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfAbbrevSection());
 1176     MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfRangesSection());
 1185   MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfARangesSection());
 1838         Streamer.SwitchSection(MOFI->getCompactUnwindSection());
 1855   Streamer.SwitchSection(&Section);
lib/MC/MCELFStreamer.cpp
   92   SwitchSection(Ctx.getObjectFileInfo()->getTextSection());
   96     SwitchSection(Ctx.getAsmInfo()->getNonexecutableStackSection(Ctx));
  304     SwitchSection(&Section);
  314     SwitchSection(P.first, P.second);
  372   SwitchSection(Comment);
lib/MC/MCMachOStreamer.cpp
  437   SwitchSection(Section);
lib/MC/MCParser/COFFAsmParser.cpp
  317   getStreamer().SwitchSection(getContext().getCOFFSection(
lib/MC/MCParser/DarwinAsmParser.cpp
  482   getStreamer().SwitchSection(getContext().getMachOSection(
  724   getStreamer().SwitchSection(getContext().getMachOSection(
  757   getStreamer().SwitchSection(PreviousSection.first, PreviousSection.second);
lib/MC/MCParser/ELFAsmParser.cpp
  211   getStreamer().SwitchSection(getContext().getELFSection(Section, Type, Flags),
  639   getStreamer().SwitchSection(ELFSection, Subsection);
  662   getStreamer().SwitchSection(PreviousSection.first, PreviousSection.second);
  799   getStreamer().SwitchSection(Note);
lib/MC/MCParser/WasmAsmParser.cpp
  152     getStreamer().SwitchSection(WS);
lib/MC/MCStreamer.cpp
  388   SwitchSection(getContext().getObjectFileInfo()->getTextSection());
 1122   SwitchSection(Section);
lib/MC/MCWin64EH.cpp
  229     Streamer.SwitchSection(XData);
  236     Streamer.SwitchSection(PData);
  246   Streamer.SwitchSection(XData);
  661     Streamer.SwitchSection(XData);
  668     Streamer.SwitchSection(PData);
  678   Streamer.SwitchSection(XData);
lib/MC/MCWinCOFFStreamer.cpp
   73   SwitchSection(getContext().getObjectFileInfo()->getTextSection());
   76   SwitchSection(getContext().getObjectFileInfo()->getDataSection());
   79   SwitchSection(getContext().getObjectFileInfo()->getBSSSection());
   82   SwitchSection(getContext().getObjectFileInfo()->getTextSection());
  291     SwitchSection(MFI->getDrectveSection());
  303   SwitchSection(Section);
lib/Target/AArch64/AArch64AsmPrinter.cpp
  290     OutStreamer->SwitchSection(OutContext.getELFSection(
  703       OutStreamer->SwitchSection(ReadOnlySec);
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  226   Streamer.SwitchSection(&ReadOnlySection);
  335     OutStreamer->SwitchSection(getObjFileLowering().getTextSection());
  437     OutStreamer->SwitchSection(ConfigSection);
  477     OutStreamer->SwitchSection(CommentSection);
  552     OutStreamer->SwitchSection(
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
  441   S.SwitchSection(Context.getELFSection(
lib/Target/AMDGPU/R600AsmPrinter.cpp
  114   OutStreamer->SwitchSection(ConfigSection);
  123     OutStreamer->SwitchSection(CommentSection);
lib/Target/ARM/ARMAsmPrinter.cpp
  528       OutStreamer->SwitchSection(TLOFMacho.getNonLazySymbolPointerSection());
  541       OutStreamer->SwitchSection(TLOFMacho.getThreadLocalPointerSection());
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
 1085     Streamer.SwitchSection(AttributeSection);
 1089     Streamer.SwitchSection(AttributeSection);
 1219   SwitchSection(EHSection);
 1307   SwitchSection(&FnStart->getSection());
lib/Target/BPF/BTFDebug.cpp
  724   OS.SwitchSection(Ctx.getELFSection(".BTF", ELF::SHT_PROGBITS, 0));
  762   OS.SwitchSection(Ctx.getELFSection(".BTF.ext", ELF::SHT_PROGBITS, 0));
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
 1486       MES->SwitchSection(mySection);
lib/Target/Hexagon/HexagonAsmPrinter.cpp
  205     OutStreamer.SwitchSection(Section);
  234     OutStreamer.SwitchSection(Section);
  333       OutStreamer->SwitchSection(Current.first, Current.second);
  349       OutStreamer->SwitchSection(Current.first, Current.second);
lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp
  110     SwitchSection(&Section);
  122     SwitchSection(P.first, P.second);
lib/Target/MSP430/MCTargetDesc/MSP430ELFStreamer.cpp
   43   Streamer.SwitchSection(AttributeSection);
lib/Target/MSP430/MSP430AsmPrinter.cpp
  169   OutStreamer->SwitchSection(IV);
  173   OutStreamer->SwitchSection(Cur);
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 3335   getStreamer().SwitchSection(ReadOnlySection);
 3338   getStreamer().SwitchSection(CS);
 3387   getStreamer().SwitchSection(ReadOnlySection);
 3391   getStreamer().SwitchSection(CS);
 3470   getStreamer().SwitchSection(ReadOnlySection);
 3474   getStreamer().SwitchSection(CS);
 7803   getParser().getStreamer().SwitchSection(ELFSection);
 7821   getParser().getStreamer().SwitchSection(ELFSection);
lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
   95   MCELFStreamer::SwitchSection(Section, Subsection);
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
  919         OS.SwitchSection(&Section);
 1033   OS.SwitchSection(Sec);
 1320   OS.SwitchSection(Sec);
lib/Target/Mips/MipsAsmPrinter.cpp
  800   OutStreamer->SwitchSection(
  827   OutStreamer->SwitchSection(getObjFileLowering().getTextSection());
 1047   OutStreamer->SwitchSection(M, nullptr);
 1132   OutStreamer->SwitchSection(OutContext.getObjectFileInfo()->getTextSection());
lib/Target/PowerPC/PPCAsmPrinter.cpp
 1338   OutStreamer->SwitchSection(OutContext.getELFSection(
 1355   OutStreamer->SwitchSection(getObjFileLowering().getTextSection());
 1413   OutStreamer->SwitchSection(Section);
 1428   OutStreamer->SwitchSection(Current.first, Current.second);
 1448     OutStreamer->SwitchSection(Section);
 1636   OutStreamer->SwitchSection(TLOFMacho.getTextCoalSection());
 1638     OutStreamer->SwitchSection(
 1644     OutStreamer->SwitchSection(
 1650   OutStreamer->SwitchSection(getObjFileLowering().getTextSection());
 1684       OutStreamer->SwitchSection(TLOFMacho.getNonLazySymbolPointerSection());
 1757   OutStreamer->SwitchSection(CSect);
 1793   OutStreamer->SwitchSection(
 1806   OutStreamer->SwitchSection(Current.first, Current.second);
 1822   OutStreamer->SwitchSection(TOCBaseSection);
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
  845     getStreamer().SwitchSection(WS);
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  159       OutStreamer->SwitchSection(MySection);
  200     OutStreamer->SwitchSection(Producers);
  258   OutStreamer->SwitchSection(FeaturesSection);
lib/Target/X86/X86AsmPrinter.cpp
  574       OutStreamer->SwitchSection(Nt);
  591       OutStreamer->SwitchSection(Cur);
  596     OutStreamer->SwitchSection(getObjFileLowering().getTextSection());
  667     OutStreamer.SwitchSection(MMI->getContext().getMachOSection(
lib/Target/XCore/XCoreAsmPrinter.cpp
  114   OutStreamer->SwitchSection(getObjFileLowering().SectionForGlobal(GV, TM));
tools/clang/tools/driver/cc1as_main.cpp
  491     Str.get()->SwitchSection(AsmLabel);
tools/dsymutil/DwarfStreamer.cpp
  141   MS->SwitchSection(MOFI->getDwarfInfoSection());
  182   MS->SwitchSection(MOFI->getDwarfAbbrevSection());
  189   MS->SwitchSection(MOFI->getDwarfInfoSection());
  195   Asm->OutStreamer->SwitchSection(MOFI->getDwarfStrSection());
  220   Asm->OutStreamer->SwitchSection(MOFI->getDwarfDebugNamesSection());
  230   Asm->OutStreamer->SwitchSection(MOFI->getDwarfAccelNamespaceSection());
  238   Asm->OutStreamer->SwitchSection(MOFI->getDwarfAccelNamesSection());
  246   Asm->OutStreamer->SwitchSection(MOFI->getDwarfAccelObjCSection());
  254   Asm->OutStreamer->SwitchSection(MOFI->getDwarfAccelTypesSection());
  264   MS->SwitchSection(SwiftASTSection);
  277   MS->SwitchSection(MC->getObjectFileInfo()->getDwarfRangesSection());
  329     MS->SwitchSection(MC->getObjectFileInfo()->getDwarfARangesSection());
  371   MS->SwitchSection(MC->getObjectFileInfo()->getDwarfRangesSection());
  399   MS->SwitchSection(MC->getObjectFileInfo()->getDwarfLocSection());
  461   MS->SwitchSection(MC->getObjectFileInfo()->getDwarfLineSection());
  604   MS->SwitchSection(MC->getObjectFileInfo()->getDwarfLineSection());
  695     MS->SwitchSection(MC->getObjectFileInfo()->getDwarfLineSection());
  699   MS->SwitchSection(MC->getObjectFileInfo()->getDwarfLocSection());
  702   MS->SwitchSection(MC->getObjectFileInfo()->getDwarfRangesSection());
  705   MS->SwitchSection(MC->getObjectFileInfo()->getDwarfFrameSection());
  708   MS->SwitchSection(MC->getObjectFileInfo()->getDwarfARangesSection());
  721   Asm->OutStreamer->SwitchSection(Sec);
  768   MS->SwitchSection(MC->getObjectFileInfo()->getDwarfFrameSection());
  779   MS->SwitchSection(MC->getObjectFileInfo()->getDwarfFrameSection());
tools/llvm-dwp/DWPStringPool.h
   46       Out.SwitchSection(Sec);
tools/llvm-dwp/llvm-dwp.cpp
   86   Out.SwitchSection(StrOffsetSection);
  220   Out.SwitchSection(OutputTypes);
  252     Out.SwitchSection(OutputTypes);
  319   Out.SwitchSection(Section);
  460     Out.SwitchSection(OutSection);
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
 2521   AP->OutStreamer->SwitchSection(
 2524   AP->OutStreamer->SwitchSection(
unittests/DebugInfo/DWARF/DwarfGenerator.cpp
  501   MS->SwitchSection(TLOF->getDwarfInfoSection());
  520   MS->SwitchSection(TLOF->getDwarfLineSection());