We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d01fb4c commit 4cc1af3Copy full SHA for 4cc1af3
Sources/SwiftDriver/Jobs/GenericUnixToolchain+LinkerSupport.swift
@@ -88,17 +88,6 @@ extension GenericUnixToolchain {
88
#else
89
commandLine.appendFlag("-fuse-ld=\(linker)")
90
#endif
91
- // Starting with lld 13, Swift stopped working with the lld
92
- // --gc-sections implementation for ELF, unless -z nostart-stop-gc is
93
- // also passed to lld:
94
- //
95
- // https://reviews.llvm.org/D96914
96
- if linker == "lld" || linker.hasSuffix("ld.lld") {
97
- commandLine.appendFlag(.Xlinker)
98
- commandLine.appendFlag("-z")
99
100
- commandLine.appendFlag("nostart-stop-gc")
101
- }
102
}
103
104
// Configure the toolchain.
0 commit comments