Home
last modified time | relevance | path

Searched refs:existingFunction (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/lld/wasm/
DSymbolTable.cpp308 auto existingFunction = dyn_cast<FunctionSymbol>(s); in addDefinedFunction() local
309 if (!existingFunction) { in addDefinedFunction()
315 if (auto ud = dyn_cast<UndefinedFunction>(existingFunction)) in addDefinedFunction()
318 if (checkSig && function && !signatureMatches(existingFunction, &function->signature)) { in addDefinedFunction()
483 auto existingFunction = dyn_cast<FunctionSymbol>(s); in addUndefinedFunction() local
484 if (!existingFunction) { in addUndefinedFunction()
488 if (!existingFunction->signature && sig) in addUndefinedFunction()
489 existingFunction->signature = sig; in addUndefinedFunction()
490 auto *existingUndefined = dyn_cast<UndefinedFunction>(existingFunction); in addUndefinedFunction()
491 if (isCalledDirectly && !signatureMatches(existingFunction, sig)) { in addUndefinedFunction()