can anyone point me to a minimal OOT pass template? in case it matters I’m working on both an M1 Mac and Linux. I would love for this template to support both the old and new pass managers, but if that’s not available then the new one is preferable. thanks!
Ah, ok, it fails to build on my Mac using AppleClang 13.1.6.13160021, but it works if I move the C++ standard from 14 to 17. (I also removed the check for LLVM version == 14.) Thanks again.
Should I push a change to the docs adding a link to your repo? Or perhaps we can pin a link here? (Sorry if something like that has already been done, I’m still kind of a bad discourse user.)
Also I really like some of the details in this repo such as the comments, and checking for RTTI instead of unconditionally adding the -fno-rtti flag, as we see sometimes.