This reverts commit 700d07f8ce6f2879610fd6b6968b05c6f17bb915. Reverting due to a ThinLTO+CFI breakage on -msvc targets.