This adds support for FatLTO to COFF targets in clang and lld. The changes are adapted from610fc5cbccand14e3bec8fcbut much smaller because it just needed the COFF-specific parts wired in, and I tried my best to adapt the pre-existing ELF tests for the COFF version. My main goal is to be able to use this for shipping pre-built https://github.com/XboxDev/nxdk container images someday, which uses the `i386-pc-win32` target.
1.6 KiB
1.6 KiB