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 ec2682e commit b569328Copy full SHA for b569328
SwiftCompilerSources/CMakeLists.txt
@@ -179,6 +179,10 @@ function(add_swift_compiler_modules_library name)
179
"\\1/Platforms/\\2/Windows.platform/Developer/SDKs/Windows.sdk/usr/lib/swift"
180
resource_dir "${ALS_SWIFT_EXEC}")
181
list(APPEND sdk_option "-resource-dir" "${resource_dir}")
182
+
183
+ # Workaround a crash in the LoadableByAddress pass
184
+ # https://github.com/apple/swift/issues/73254
185
+ list(APPEND swift_compile_options "-Xllvm" "-sil-disable-pass=loadable-address")
186
else()
187
list(APPEND sdk_option "-I" "${swift_exec_bin_dir}/../lib" "-I" "${sdk_path}/usr/lib")
188
endif()
0 commit comments