Lines Matching full:signature

154 // Returns true if the function types match, false is there is a signature
158 const WasmSignature *oldSig = existing->signature;
160 // If either function is missing a signature (this happens for bitcode
192 const WasmSignature *oldSig = existingTag->signature;
194 warn("Tag signature mismatch: " + existing->getName() +
331 const WasmSignature *signature,
335 ("function signature mismatch: " + symName + "\n>>> defined as " +
336 toString(*sym->signature) + " in " + toString(sym->getFile()) +
337 "\n>>> defined as " + toString(*signature) + " in " + toString(file))
349 reportFunctionSignatureMismatch(symName, a, b->signature, b->getFile(),
393 // With --no-shlib-sigcheck we ignore the signature of the function as
394 // defined by the shared library and instead use the signature as
396 sig = existingFunction->signature;
430 << (function ? toString(function->signature) : "none")
437 // If the new defined function doesn't have signature (i.e. bitcode
438 // functions) but the old symbol does, then preserve the old signature
441 if (!newSym->signature)
442 newSym->signature = oldSig;
460 if (checkSig && function && !signatureMatches(existingFunction, &function->signature)) {
462 if (getFunctionVariant(s, &function->signature, file, &variant))
475 // Existing function with matching signature.
548 checkTagType(s, file, &tag->signature);
645 lazy->signature = sig;
657 if (!existingFunction->signature && sig)
658 existingFunction->signature = sig;
666 existingFunction->signature = sig;
883 // signature.
885 oldSig = f->signature;
889 newSym->signature = oldSig;
904 // The new signature doesn't match. Create a variant to the symbol with the
905 // signature encoded in the name and return that instead. These symbols are
973 // undefined functions that don't match the signature of the definition.
1009 // It is possible for undefined functions not to have a signature (eg.
1011 // signature. Lazy symbols may not be functions and therefore Sig can
1028 sym->signature = &sig;
1036 // Remove any variant symbols that were created due to function signature
1050 << toString(*f->signature) << "\n");
1064 // the signature, there is not we can do since we don't know which one
1065 // to use as the signature on the import.
1079 replaceWithUnreachable(f, *f->signature, debugName);