samitolvanen added a comment. In D135411#3841693 <https://reviews.llvm.org/D135411#3841693>, @kees wrote:
> What's the best way to test this in the kernel? I assume add > `ARCH_SUPPORTS_CFI_CLANG` to an arch, and see what blows up? :) Yes, I think that's the best way. > Have you tried this on any other arch yet? The generic lowering pass is not ideal for kernel use as-is, because it doesn't generate a consistent machine instruction sequence, which makes error handling more difficult. The primary target audience here is firmware running on less common architectures. That being said, I did compile a 64-bit MIPS kernel using this pass, but I didn't try booting it. I would expect to run into quite a few issues initially. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D135411/new/ https://reviews.llvm.org/D135411 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits