24.5 Internal flags controllinglto1 ¶
The following flags are passed intolto1 and are notmeant to be used directly from the command line.
- -fwpaThis option runs the serial part of the link-time optimizerperforming the inter-procedural propagation (WPA mode). Thecompiler reads in summary information from all inputs andperforms an analysis based on summary information only. Itgenerates object files for subsequent runs of the link-timeoptimizer where individual object files are optimized using bothsummary information from the WPA mode and the actual functionbodies. It then drives the LTRANS phase.
- -fltransThis option runs the link-time optimizer in thelocal-transformation (LTRANS) mode, which reads in output from aprevious run of the LTO in WPA mode. In the LTRANS mode, LTOoptimizes an object and produces the final assembly.
- -fltrans-output-list=fileThis option specifies a file to which the names of LTRANS outputfiles are written. This option is only meaningful in conjunctionwith-fwpa.
- -fresolution=fileThis option specifies the linker resolution file. This option isonly meaningful in conjunction with-fwpa and as optionto pass through to the LTO linker plugin.