Lines Matching refs:dtorStub
322 llvm::Constant *dtorStub = createAtExitStub(VD, dtor, addr); in registerGlobalDtorWithAtExit() local
323 registerGlobalDtorWithAtExit(dtorStub); in registerGlobalDtorWithAtExit()
326 void CodeGenFunction::registerGlobalDtorWithAtExit(llvm::Constant *dtorStub) { in registerGlobalDtorWithAtExit() argument
328 assert(dtorStub->getType() == in registerGlobalDtorWithAtExit()
331 dtorStub->getType()->getPointerAddressSpace()) && in registerGlobalDtorWithAtExit()
335 llvm::FunctionType::get(IntTy, dtorStub->getType(), false); in registerGlobalDtorWithAtExit()
343 EmitNounwindRuntimeCall(atexit, dtorStub); in registerGlobalDtorWithAtExit()
347 CodeGenFunction::unregisterGlobalDtorWithUnAtExit(llvm::Constant *dtorStub) { in unregisterGlobalDtorWithUnAtExit() argument
355 assert(dtorStub->getType() == in unregisterGlobalDtorWithUnAtExit()
358 dtorStub->getType()->getPointerAddressSpace()) && in unregisterGlobalDtorWithUnAtExit()
362 llvm::FunctionType::get(IntTy, {dtorStub->getType()}, /*isVarArg=*/false); in unregisterGlobalDtorWithUnAtExit()
369 return EmitNounwindRuntimeCall(unatexit, dtorStub); in unregisterGlobalDtorWithUnAtExit()