Lines Matching defs:hasPrefix
483 static bool hasPrefix(StringRef SectionName, StringRef Prefix) {
503 if (hasPrefix(SectionName, ".rodata.") || SectionName == ".rodata1")
506 hasPrefix(SectionName, ".text."))
508 else if (hasPrefix(SectionName, ".data.") || SectionName == ".data1" ||
509 hasPrefix(SectionName, ".bss.") ||
510 hasPrefix(SectionName, ".init_array.") ||
511 hasPrefix(SectionName, ".fini_array.") ||
512 hasPrefix(SectionName, ".preinit_array."))
514 else if (hasPrefix(SectionName, ".tdata.") ||
515 hasPrefix(SectionName, ".tbss."))
588 else if (hasPrefix(SectionName, ".init_array."))
590 else if (hasPrefix(SectionName, ".bss."))
592 else if (hasPrefix(SectionName, ".tbss."))
594 else if (hasPrefix(SectionName, ".fini_array."))
596 else if (hasPrefix(SectionName, ".preinit_array."))