25.2 LTO file sections

LTO information is stored in several ELF sections inside object files. Data structures and enum codes for sections are defined in lto-streamer.h.

These sections are emitted from lto-streamer-out.cc and mapped in all at once from lto/lto.cc:lto_file_read. The individual functions dealing with the reading/writing of each section are described below.