Lines Matching refs:MCSectionMachO
21 } SectionTypeDescriptors[MCSectionMachO::LAST_KNOWN_SECTION_TYPE+1] = {
58 { MCSectionMachO::ENUM, ASMNAME, #ENUM },
75 MCSectionMachO::MCSectionMachO(StringRef Segment, StringRef Section, in MCSectionMachO() function in MCSectionMachO
93 void MCSectionMachO::PrintSwitchToSection(const MCAsmInfo &MAI, in PrintSwitchToSection()
104 unsigned SectionType = TAA & MCSectionMachO::SECTION_TYPE; in PrintSwitchToSection()
105 assert(SectionType <= MCSectionMachO::LAST_KNOWN_SECTION_TYPE && in PrintSwitchToSection()
118 unsigned SectionAttrs = TAA & MCSectionMachO::SECTION_ATTRIBUTES; in PrintSwitchToSection()
156 bool MCSectionMachO::UseCodeAlign() const { in UseCodeAlign()
157 return hasAttribute(MCSectionMachO::S_ATTR_PURE_INSTRUCTIONS); in UseCodeAlign()
160 bool MCSectionMachO::isVirtualSection() const { in isVirtualSection()
161 return (getType() == MCSectionMachO::S_ZEROFILL || in isVirtualSection()
162 getType() == MCSectionMachO::S_GB_ZEROFILL || in isVirtualSection()
163 getType() == MCSectionMachO::S_THREAD_LOCAL_ZEROFILL); in isVirtualSection()
179 std::string MCSectionMachO::ParseSectionSpecifier(StringRef Spec, // In. in ParseSectionSpecifier()
230 for (TypeID = 0; TypeID !=MCSectionMachO::LAST_KNOWN_SECTION_TYPE+1; ++TypeID) in ParseSectionSpecifier()
236 if (TypeID > MCSectionMachO::LAST_KNOWN_SECTION_TYPE) in ParseSectionSpecifier()
246 if (TAA == MCSectionMachO::S_SYMBOL_STUBS) in ParseSectionSpecifier()
283 if (TAA == MCSectionMachO::S_SYMBOL_STUBS) in ParseSectionSpecifier()
290 if ((TAA & MCSectionMachO::SECTION_TYPE) != MCSectionMachO::S_SYMBOL_STUBS) in ParseSectionSpecifier()