vsapsai wrote: That crash looks pretty annoying, thanks for looking into this issue and debugging it.
Can you trigger the crash without `-ast-dump-all`? If there is a way to detect a faulty behaviour without verifying the internal compiler state, it is more reliable and less fragile to do it this way. Can you use in the test `%clang_cc1` instead of `%clang`? The reason is that `%clang` invokes the driver and its behaviour depends on the environment in which it is executed. For example, `%clang` would read environment variables while `%clang_cc1` expects extra configuration to be passed explicitly. And for the testing the explicit behaviour is more predictable and reproducible. https://github.com/llvm/llvm-project/pull/114240 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits