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 a907a15 commit 2ea7cd2Copy full SHA for 2ea7cd2
stdlib/cmake/modules/SwiftSource.cmake
@@ -91,6 +91,9 @@ function(handle_swift_sources
91
# FIXME: We shouldn't /have/ to build things in a single process.
92
# <rdar://problem/15972329>
93
list(APPEND swift_compile_flags "-whole-module-optimization")
94
+ if(sdk IN_LIST SWIFT_APPLE_PLATFORMS OR sdk STREQUAL "MACCATALYST")
95
+ list(APPEND swift_compile_flags "-save-optimization-record=bitstream")
96
+ endif()
97
98
_compile_swift_files(
99
dependency_target
0 commit comments