Home
last modified time | relevance | path

Searched refs:SectionStack (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCStreamer.h385 if (!SectionStack.empty()) in getCurrentSection()
386 return SectionStack.back().first; in getCurrentSection()
393 if (!SectionStack.empty()) in getPreviousSection()
394 return SectionStack.back().second; in getPreviousSection()
412 SectionStack.push_back( in pushSection()
421 if (SectionStack.size() <= 1) in popSection()
423 auto I = SectionStack.end(); in popSection()
431 SectionStack.pop_back(); in popSection()
436 if (SectionStack.empty()) in subSection()
456 MCSectionSubPair curSection = SectionStack.back().first;
[all …]
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCStreamer.cpp97 SectionStack.push_back(std::pair<MCSectionSubPair, MCSectionSubPair>()); in MCStreamer()
107 SectionStack.clear(); in reset()
108 SectionStack.push_back(std::pair<MCSectionSubPair, MCSectionSubPair>()); in reset()
1227 MCSectionSubPair curSection = SectionStack.back().first; in switchSection()
1228 SectionStack.back().second = curSection; in switchSection()
1231 SectionStack.back().first = MCSectionSubPair(Section, Subsection); in switchSection()