https://github.com/teresajohnson commented: Thanks - since this is now in LTO just make an LTO test using something like either llvm-lto or llvm-lto2 instead of lld. See examples in llvm/test/LTO/X86 https://github.com/llvm/llvm-project/pull/101018