Searched refs:CtorFunc (Results 1 – 1 of 1) sorted by relevance
365 Function *CtorFunc; in CreateInitCallsForSections() local367 std::tie(CtorFunc, std::ignore) = createSanitizerCtorAndInitFunctions( in CreateInitCallsForSections()369 assert(CtorFunc->getName() == CtorName); in CreateInitCallsForSections()373 CtorFunc->setComdat(M.getOrInsertComdat(CtorName)); in CreateInitCallsForSections()374 appendToGlobalCtors(M, CtorFunc, SanCtorAndDtorPriority, CtorFunc); in CreateInitCallsForSections()376 appendToGlobalCtors(M, CtorFunc, SanCtorAndDtorPriority); in CreateInitCallsForSections()386 CtorFunc->setLinkage(GlobalValue::WeakODRLinkage); in CreateInitCallsForSections()388 return CtorFunc; in CreateInitCallsForSections()