aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/IdentifierTable.cpp
diff options
context:
space:
mode:
authorMatthew Voss <matthew.voss@sony.com>2023-07-18 16:13:58 -0700
committerMatthew Voss <matthew.voss@sony.com>2023-07-18 16:13:58 -0700
commitab9b3c84a588f86e7f66eeb577bea7155817ff06 (patch)
treef67e268ab3d8295e5e84a6354bd43037d562802a /clang/lib/Basic/IdentifierTable.cpp
parent1e62587a48a33b3bf5939e1eef2fd4e41b7e75f6 (diff)
downloadllvm-ab9b3c84a588f86e7f66eeb577bea7155817ff06.zip
llvm-ab9b3c84a588f86e7f66eeb577bea7155817ff06.tar.gz
llvm-ab9b3c84a588f86e7f66eeb577bea7155817ff06.tar.bz2
[lld] A Unified LTO Bitcode Frontend
The unified LTO pipeline creates a single LTO bitcode structure that can be used by Thin or Full LTO. This means that the LTO mode can be chosen at link time and that all LTO bitcode produced by the pipeline is compatible, from an optimization perspective. This makes the behavior of LTO a bit more predictable by normalizing the set of LTO features supported by each LTO bitcode file. Example usage: clang -flto -funified-lto -fuse-ld=lld foo.c clang -flto=thin -funified-lto -fuse-ld=lld foo.c clang -c -flto -funified-lto foo.c # -flto={full,thin} are identical in terms of compilation actions clang -flto=thin -fuse-ld=lld foo.o # pass --lto=thin to ld.lld clang -c -flto -funified-lto foo.c clang -flto -fuse-ld=lld foo.o The RFC discussing the details and rational for this change is here: https://discourse.llvm.org/t/rfc-a-unified-lto-bitcode-frontend/61774 Differential Revision: https://reviews.llvm.org/D123805
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
0 files changed, 0 insertions, 0 deletions