Lines Matching defs:archive
301 case file_magic::archive: {
313 // No cached archive, we need to create a new one
314 std::unique_ptr<object::Archive> archive = CHECK(
315 object::Archive::create(mbref), path + ": failed to parse archive");
317 if (!archive->isEmpty() && !archive->hasSymbolTable())
318 error(path + ": archive has no index; run ranlib to add one");
319 file = make<ArchiveFile>(std::move(archive), isForceHidden);
327 // LC_LINKER_OPTION again, using the cached archive is enough.
355 " failed to load archive member: " + toString(std::move(e)));
369 // TODO: no need to look for ObjC sections for a given archive member if
379 warn(toString(file) + ": -ObjC failed to open archive member: " +
389 error(toString(file) + ": -ObjC failed to load archive member: " +
442 if (config->printEachFile && magic != file_magic::archive && !isLazy)
2069 // languish in an archive if unreferenced elsewhere or if they are in the