mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This commit adds -lto flag for driver to enable LTO at LLVM level. When -lto=llvm given, compiler emits LLVM bitcode file instead of object file and perform thin LTO using libLTO.dylib plugin. When -lto=llvm-full given, perform full LTO instead of thin LTO.
68 KiB
68 KiB