Lines Matching refs:hasPrefix
501 static bool hasPrefix(StringRef SectionName, StringRef Prefix) { in hasPrefix() function
523 if (hasPrefix(SectionName, ".rodata.") || SectionName == ".rodata1") in ParseSectionArguments()
526 hasPrefix(SectionName, ".text.")) in ParseSectionArguments()
528 else if (hasPrefix(SectionName, ".data.") || SectionName == ".data1" || in ParseSectionArguments()
529 hasPrefix(SectionName, ".bss.") || in ParseSectionArguments()
530 hasPrefix(SectionName, ".init_array.") || in ParseSectionArguments()
531 hasPrefix(SectionName, ".fini_array.") || in ParseSectionArguments()
532 hasPrefix(SectionName, ".preinit_array.")) in ParseSectionArguments()
534 else if (hasPrefix(SectionName, ".tdata.") || in ParseSectionArguments()
535 hasPrefix(SectionName, ".tbss.")) in ParseSectionArguments()
606 else if (hasPrefix(SectionName, ".init_array.")) in ParseSectionArguments()
608 else if (hasPrefix(SectionName, ".bss.")) in ParseSectionArguments()
610 else if (hasPrefix(SectionName, ".tbss.")) in ParseSectionArguments()
612 else if (hasPrefix(SectionName, ".fini_array.")) in ParseSectionArguments()
614 else if (hasPrefix(SectionName, ".preinit_array.")) in ParseSectionArguments()