steakhal added a comment. I'm somewhat bothered that this patch is not landed yet. :|
I made a **crude** mock to trigger the bug using `LD_PRELOAD`. F15707493: LD_PRELOAD-workaround.patch <https://reviews.llvm.org/F15707493> The test reproduces the issue and passes if you apply the fix from this patch. However, it requires compiling a shared object with the same compiler you used for building clang. I'm using the `c++` compiler, for now. I think it's a good starting point. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D83660/new/ https://reviews.llvm.org/D83660 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits