Lines Matching refs:dtorStub
325 llvm::Constant *dtorStub = createAtExitStub(VD, dtor, addr); in registerGlobalDtorWithAtExit() local
326 registerGlobalDtorWithAtExit(dtorStub); in registerGlobalDtorWithAtExit()
329 void CodeGenFunction::registerGlobalDtorWithAtExit(llvm::Constant *dtorStub) { in registerGlobalDtorWithAtExit() argument
331 assert(dtorStub->getType() == in registerGlobalDtorWithAtExit()
334 dtorStub->getType()->getPointerAddressSpace()) && in registerGlobalDtorWithAtExit()
338 llvm::FunctionType::get(IntTy, dtorStub->getType(), false); in registerGlobalDtorWithAtExit()
346 EmitNounwindRuntimeCall(atexit, dtorStub); in registerGlobalDtorWithAtExit()
350 CodeGenFunction::unregisterGlobalDtorWithUnAtExit(llvm::Constant *dtorStub) { in unregisterGlobalDtorWithUnAtExit() argument
358 assert(dtorStub->getType() == in unregisterGlobalDtorWithUnAtExit()
361 dtorStub->getType()->getPointerAddressSpace()) && in unregisterGlobalDtorWithUnAtExit()
365 llvm::FunctionType::get(IntTy, {dtorStub->getType()}, /*isVarArg=*/false); in unregisterGlobalDtorWithUnAtExit()
372 return EmitNounwindRuntimeCall(unatexit, dtorStub); in unregisterGlobalDtorWithUnAtExit()