On Mon Jan 22 16:10:58 2024 +0000, Gabriel Ivăncescu wrote:
I see, that's a bit of a bummer. Is there no way to workaround it (that's acceptable without hacks like using a macro for .seh_endprologue, obviously)? Or ideas to try something else? Or give up on trying to upstream it?
As long as it requires a non-PE build, I don't think that LTO is interesting. In a PE build presumably it could be made to handle import libraries correctly.