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