aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorbd1976bris <Ben.Dunbobbin@sony.com>2025-09-16 11:03:48 +0100
committerGitHub <noreply@github.com>2025-09-16 11:03:48 +0100
commit6ae9fcd68b8c32323fe8ed1605e4bcbdf13f6724 (patch)
tree8fecf85b64a71a9ded1b879d9d24a6f2492f6a27 /clang/lib/Frontend/CompilerInvocation.cpp
parenta0a82ee19d6f2ff1013407ba4c973bfe5428423f (diff)
downloadllvm-6ae9fcd68b8c32323fe8ed1605e4bcbdf13f6724.zip
llvm-6ae9fcd68b8c32323fe8ed1605e4bcbdf13f6724.tar.gz
llvm-6ae9fcd68b8c32323fe8ed1605e4bcbdf13f6724.tar.bz2
[PS5] Enable support for DTLTO in the PS5 Clang driver (#158041)
DTLTO support was added for most targets via the shared `addLTOOptions` helper. The PS5 driver does not call that helper, so it did not inherit the feature. Implement the equivalent DTLTO handling in the PS5 driver. Unlike other drivers, we add LTO-related options unconditionally. This makes sense because the linker decides whether to perform LTO based on input file types, not the presence of `-flto` on the compiler command line. Other drivers only add these options when `-flto` is specified. Internal-Ref: TOOLCHAIN-19896
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions