Lines Matching refs:dtorStub
326 llvm::Constant *dtorStub = createAtExitStub(VD, dtor, addr); in registerGlobalDtorWithAtExit() local
327 registerGlobalDtorWithAtExit(dtorStub); in registerGlobalDtorWithAtExit()
335 llvm::Function *dtorStub = createAtExitStub(VD, Dtor, Addr); in registerGlobalDtorWithLLVM() local
336 CGM.AddGlobalDtor(dtorStub); in registerGlobalDtorWithLLVM()
339 void CodeGenFunction::registerGlobalDtorWithAtExit(llvm::Constant *dtorStub) { in registerGlobalDtorWithAtExit() argument
341 assert(dtorStub->getType() == in registerGlobalDtorWithAtExit()
344 dtorStub->getType()->getPointerAddressSpace()) && in registerGlobalDtorWithAtExit()
348 llvm::FunctionType::get(IntTy, dtorStub->getType(), false); in registerGlobalDtorWithAtExit()
356 EmitNounwindRuntimeCall(atexit, dtorStub); in registerGlobalDtorWithAtExit()
360 CodeGenFunction::unregisterGlobalDtorWithUnAtExit(llvm::Constant *dtorStub) { in unregisterGlobalDtorWithUnAtExit() argument
368 assert(dtorStub->getType() == in unregisterGlobalDtorWithUnAtExit()
371 dtorStub->getType()->getPointerAddressSpace()) && in unregisterGlobalDtorWithUnAtExit()
375 llvm::FunctionType::get(IntTy, {dtorStub->getType()}, /*isVarArg=*/false); in unregisterGlobalDtorWithUnAtExit()
382 return EmitNounwindRuntimeCall(unatexit, dtorStub); in unregisterGlobalDtorWithUnAtExit()