Wowza, that would be cool! IIRC Apple&#x27;s clang doesn&#x27;t support plugins but that can be worked around (with some&#x2F;much difficulty) using clang -emit-llvm, custom opt w&#x2F; your pass, and llc to lower to assembly&#x2F;object file. Of course, versioning in this kind of scenario is &quot;fun&quot;.