I think normally unbaked cheesecakes won't have eggs (traditional tiramisu will though). For a major chain like McDonald's I think they will pasteurize any raw eggs to prevent any accidents so it should all be safe. Honestly I didn't restrict my diet much except for caffeine, alcohol, raw oysters and herbs; sushi, ice cream, poached eggs etc are still a go for me. I try to avoid homebased bakes too as they aren't really regulated by food safety standards.