Re:Being Sneaky in C
by mpu on Saturday June 13, 2015 @10:15AM
(#9711056)
Lto does not work on assembly, it only works if some IR is stored in the .o files (like gimple for gcc) iirc.
[ Parent
| on HN ]
Re:Being Sneaky in C
by TheLoneWolfling on Saturday June 13, 2015 @10:50AM
(#9711160)
Currently.
However, that is not an inherent restriction - that is only a restriction on current compilers. It is entirely possible for a compiler to read the assembly of things being linked and optimize based on that.