Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp365 Function *CtorFunc; in CreateInitCallsForSections() local
367 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()