Lines Matching defs:CtorFunc
365 Function *CtorFunc;
366 std::tie(CtorFunc, std::ignore) = createSanitizerCtorAndInitFunctions(
368 assert(CtorFunc->getName() == CtorName);
371 // Use comdat to dedup CtorFunc.
372 CtorFunc->setComdat(M.getOrInsertComdat(CtorName));
373 appendToGlobalCtors(M, CtorFunc, SanCtorAndDtorPriority, CtorFunc);
375 appendToGlobalCtors(M, CtorFunc, SanCtorAndDtorPriority);
385 CtorFunc->setLinkage(GlobalValue::WeakODRLinkage);
387 return CtorFunc;