diff options
author | Edd Dawson <edd.dawson@sony.com> | 2024-07-25 09:43:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-25 09:43:17 +0100 |
commit | d82df1b891fecae0af7de5e970b592ce37178a30 (patch) | |
tree | 16b28968fc0ad61d36352271bea672d7817b9a20 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 6a5a64c56bc6c7183935367d3cf915ccdd103882 (diff) | |
download | llvm-d82df1b891fecae0af7de5e970b592ce37178a30.zip llvm-d82df1b891fecae0af7de5e970b592ce37178a30.tar.gz llvm-d82df1b891fecae0af7de5e970b592ce37178a30.tar.bz2 |
[PS4/PS5][Driver] Always pass LTO options to the linker (#100423)
The driver doesn't know if LTO will occur at link time. That's
determined by the presence or absence of LLVM bitcode objects among
those ingested by the linker.
For this reason, LTO options for codegen etc must be passed to the
linker unconditionally. If LTO does not occur, these options have no
effect.
Also simplify the way LTO options are supplied to the PS4 linker.
`-lto-debug-options` and `-lto-thin-debug-options` are combined and
routed to the same place. So, always use the former, regardless of
full/thin LTO mode.
SIE tracker: TOOLCHAIN-16575
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions