JonChesterfield added a comment. An upshot of looking at this is that `-Xclang -emit-llvm-bc -save-temps` does not work, and nor does `-Xclang -emit-llvm -save-temps`. However `-emit-llvm -save-temps` is fine. Opened https://bugs.llvm.org/show_bug.cgi?id=49234 to track.
Skipping the phases still looks right to me, instead of passing -emit-llvm-bc, but I suppose we could stall fixing this until we reach consensus on how to fix 49234. I can carry the patch locally for debugging until then. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D96769/new/ https://reviews.llvm.org/D96769 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits