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 7bf193e commit 338dd18Copy full SHA for 338dd18
SwiftCompilerSources/CMakeLists.txt
@@ -172,6 +172,10 @@ function(add_swift_compiler_modules_library name)
172
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
173
list(APPEND swift_compile_options "-static")
174
list(APPEND sdk_option "-sdk" "${SWIFT_PATH_TO_SWIFT_SDK}")
175
+
176
+ # Workaround a crash in the LoadableByAddress pass
177
+ # https://github.com/apple/swift/issues/73254
178
+ list(APPEND swift_compile_options "-Xllvm" "-sil-disable-pass=loadable-address")
179
else()
180
list(APPEND sdk_option "-I" "${swift_exec_bin_dir}/../lib" "-I" "${sdk_path}/usr/lib")
181
endif()
0 commit comments