mirror of
https://github.com/apple/swift.git
synced 2026-03-04 18:24:35 +01:00
This commit adds -lto flag for frontend to enable LTO at LLVM level. When -lto=llvm given, compiler emits LLVM bitcode file instead of object file and adds index summary for LTO. In addition for ELF format, emit llvm.dependent-libraries section to embed auto linking information
24 lines
421 B
Plaintext
24 lines
421 B
Plaintext
module AutolinkCoffCPragma {
|
|
header "autolink-coff-c-pragma.h"
|
|
export *
|
|
}
|
|
|
|
module AutolinkCoffCPragmaTransitive {
|
|
header "autolink-coff-c-pragma-transitive.h"
|
|
export *
|
|
}
|
|
|
|
module AutolinkElfCPragma {
|
|
header "autolink-elf-c-pragma.h"
|
|
export *
|
|
}
|
|
|
|
module AutolinkElfCPragmaTransitive {
|
|
header "autolink-elf-c-pragma-transitive.h"
|
|
export *
|
|
}
|
|
|
|
module AutolinkModuleMapLink {
|
|
link "autolink-module-map-link"
|
|
}
|