Lines Matching refs:dtorStub
270 llvm::Constant *dtorStub = createAtExitStub(VD, dtor, addr); in registerGlobalDtorWithAtExit() local
271 registerGlobalDtorWithAtExit(dtorStub); in registerGlobalDtorWithAtExit()
274 void CodeGenFunction::registerGlobalDtorWithAtExit(llvm::Constant *dtorStub) { in registerGlobalDtorWithAtExit() argument
276 assert(dtorStub->getType() == in registerGlobalDtorWithAtExit()
279 dtorStub->getType()->getPointerAddressSpace()) && in registerGlobalDtorWithAtExit()
283 llvm::FunctionType::get(IntTy, dtorStub->getType(), false); in registerGlobalDtorWithAtExit()
291 EmitNounwindRuntimeCall(atexit, dtorStub); in registerGlobalDtorWithAtExit()
295 CodeGenFunction::unregisterGlobalDtorWithUnAtExit(llvm::Constant *dtorStub) { in unregisterGlobalDtorWithUnAtExit() argument
303 assert(dtorStub->getType() == in unregisterGlobalDtorWithUnAtExit()
306 dtorStub->getType()->getPointerAddressSpace()) && in unregisterGlobalDtorWithUnAtExit()
310 llvm::FunctionType::get(IntTy, {dtorStub->getType()}, /*isVarArg=*/false); in unregisterGlobalDtorWithUnAtExit()
317 return EmitNounwindRuntimeCall(unatexit, dtorStub); in unregisterGlobalDtorWithUnAtExit()