Lines Matching refs:hasPrefix
503 static bool hasPrefix(StringRef SectionName, StringRef Prefix) { in hasPrefix() function
543 if (hasPrefix(SectionName, ".rodata") || SectionName == ".rodata1") in ParseSectionArguments()
546 hasPrefix(SectionName, ".text")) in ParseSectionArguments()
548 else if (hasPrefix(SectionName, ".data") || SectionName == ".data1" || in ParseSectionArguments()
549 hasPrefix(SectionName, ".bss") || in ParseSectionArguments()
550 hasPrefix(SectionName, ".init_array") || in ParseSectionArguments()
551 hasPrefix(SectionName, ".fini_array") || in ParseSectionArguments()
552 hasPrefix(SectionName, ".preinit_array")) in ParseSectionArguments()
554 else if (hasPrefix(SectionName, ".tdata") || hasPrefix(SectionName, ".tbss")) in ParseSectionArguments()
625 else if (hasPrefix(SectionName, ".init_array")) in ParseSectionArguments()
627 else if (hasPrefix(SectionName, ".bss")) in ParseSectionArguments()
629 else if (hasPrefix(SectionName, ".tbss")) in ParseSectionArguments()
631 else if (hasPrefix(SectionName, ".fini_array")) in ParseSectionArguments()
633 else if (hasPrefix(SectionName, ".preinit_array")) in ParseSectionArguments()