anemet wrote: We're also seeing LTO failures with this: https://green.lab.llvm.org/job/llvm.org/job/clang-stage2-Rthinlto/900/ I think that this should be reverted. I also have a small reproducer but unfortunately it requires the Apple linker. https://github.com/llvm/llvm-project/pull/141106