aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorEdd Dawson <edd.dawson@sony.com>2024-07-25 09:43:17 +0100
committerGitHub <noreply@github.com>2024-07-25 09:43:17 +0100
commitd82df1b891fecae0af7de5e970b592ce37178a30 (patch)
tree16b28968fc0ad61d36352271bea672d7817b9a20 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent6a5a64c56bc6c7183935367d3cf915ccdd103882 (diff)
downloadllvm-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