Searched refs:OFFLOAD_BUNDLER_MAGIC_STR (Results 1 – 1 of 1) sorted by relevance
104 #define OFFLOAD_BUNDLER_MAGIC_STR "__CLANG_OFFLOAD_BUNDLE__" macro247 size_t ReadChars = sizeof(OFFLOAD_BUNDLER_MAGIC_STR) - 1; in ReadHeader()252 StringRef Magic(FC.data(), sizeof(OFFLOAD_BUNDLER_MAGIC_STR) - 1); in ReadHeader()253 if (!Magic.equals(OFFLOAD_BUNDLER_MAGIC_STR)) in ReadHeader()333 HeaderSize += sizeof(OFFLOAD_BUNDLER_MAGIC_STR) - 1; in WriteHeader()342 OS << OFFLOAD_BUNDLER_MAGIC_STR; in WriteHeader()436 if (!NameOrErr->startswith(OFFLOAD_BUNDLER_MAGIC_STR)) in IsOffloadSection()440 return NameOrErr->substr(sizeof(OFFLOAD_BUNDLER_MAGIC_STR) - 1); in IsOffloadSection()570 OFFLOAD_BUNDLER_MAGIC_STR + TargetNames[I] + in WriteBundleEnd()583 OFFLOAD_BUNDLER_MAGIC_STR + TargetNames[I] + in WriteBundleEnd()[all …]