Lines Matching refs:hasPrefix
517 static bool hasPrefix(StringRef SectionName, StringRef Prefix) { in hasPrefix() function
557 if (hasPrefix(SectionName, ".rodata") || SectionName == ".rodata1") in ParseSectionArguments()
560 hasPrefix(SectionName, ".text")) in ParseSectionArguments()
562 else if (hasPrefix(SectionName, ".data") || SectionName == ".data1" || in ParseSectionArguments()
563 hasPrefix(SectionName, ".bss") || in ParseSectionArguments()
564 hasPrefix(SectionName, ".init_array") || in ParseSectionArguments()
565 hasPrefix(SectionName, ".fini_array") || in ParseSectionArguments()
566 hasPrefix(SectionName, ".preinit_array")) in ParseSectionArguments()
568 else if (hasPrefix(SectionName, ".tdata") || hasPrefix(SectionName, ".tbss")) in ParseSectionArguments()
639 else if (hasPrefix(SectionName, ".init_array")) in ParseSectionArguments()
641 else if (hasPrefix(SectionName, ".bss")) in ParseSectionArguments()
643 else if (hasPrefix(SectionName, ".tbss")) in ParseSectionArguments()
645 else if (hasPrefix(SectionName, ".fini_array")) in ParseSectionArguments()
647 else if (hasPrefix(SectionName, ".preinit_array")) in ParseSectionArguments()