Lines Matching refs:StringRef
83 MCSectionMachO::MCSectionMachO(StringRef Segment, StringRef Section,
177 std::string MCSectionMachO::ParseSectionSpecifier(StringRef Spec, // In.
178 StringRef &Segment, // Out.
179 StringRef &Section, // Out.
185 SmallVector<StringRef, 5> SplitSpec;
188 auto GetEmptyOrTrim = [&SplitSpec](size_t Idx) -> StringRef {
189 return SplitSpec.size() > Idx ? SplitSpec[Idx].trim() : StringRef();
193 StringRef SectionType = GetEmptyOrTrim(2);
194 StringRef Attrs = GetEmptyOrTrim(3);
195 StringRef StubSizeStr = GetEmptyOrTrim(4);
242 SmallVector<StringRef, 1> SectionAttrs;
245 for (StringRef &SectionAttr : SectionAttrs) {