Searched refs:CtorFunc (Results 1 – 1 of 1) sorted by relevance
284 Function *CtorFunc; in CreateInitCallsForSections() local285 std::tie(CtorFunc, std::ignore) = createSanitizerCtorAndInitFunctions( in CreateInitCallsForSections()290 CtorFunc->setComdat(M.getOrInsertComdat(SanCovModuleCtorName)); in CreateInitCallsForSections()291 appendToGlobalCtors(M, CtorFunc, SanCtorAndDtorPriority, CtorFunc); in CreateInitCallsForSections()293 appendToGlobalCtors(M, CtorFunc, SanCtorAndDtorPriority); in CreateInitCallsForSections()303 CtorFunc->setLinkage(GlobalValue::WeakODRLinkage); in CreateInitCallsForSections()304 appendToUsed(M, CtorFunc); in CreateInitCallsForSections()306 return CtorFunc; in CreateInitCallsForSections()