pengfei added a comment. > Maybe I can ask cmake to check for architecture/targets during configuration > and select the headers automatically, but that is beyond the scope of this > patch.
I'm not familar with cmake, but I guess it might be doable. I once verified the X86 headers by command `echo '#include <x86intrin.h>' | clang -x c -E - | grep '#.*clang.*h' | grep -o '[^\/]*\.h' |sort|uniq`. Notice, targets like X86 doesn't have a single entry. But it still available with a bit more work. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D123498/new/ https://reviews.llvm.org/D123498 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits