How do I identify code compiled with LTO?
1 answer
Given that LTO information is stored in multiple ELF sections inside object files (see sections of the LTO file ), you can try and see what it readelf
returns (as used in, for example, this answer ).
Find records .gnu.lto_.xxx
.
+4
source to share