Naville wrote: @rnk Can you kindly review if the new approach that doesn't involve reincluding LTO.h is fine? If so I'll start adding tests https://github.com/llvm/llvm-project/pull/69904