File tree 2 files changed +5
-5
lines changed 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,11 @@ if(SWIFT_RUNTIME_USE_SANITIZERS)
15
15
endif ()
16
16
endif ()
17
17
18
- list (APPEND SWIFT_RUNTIME_SWIFT_COMPILE_FLAGS "-Xfrontend" "-verify-syntax-tree" )
18
+ list (APPEND SWIFT_RUNTIME_SWIFT_COMPILE_FLAGS "-Xfrontend" "-verify-syntax-tree" )
19
+
20
+ if (SWIFT_STDLIB_SIL_DEBUGGING)
21
+ list (APPEND SWIFT_RUNTIME_SWIFT_COMPILE_FLAGS "-Xfrontend" "-gsil" )
22
+ endif ()
19
23
20
24
# Build the runtime with -Wall to catch, e.g., uninitialized variables
21
25
# warnings.
Original file line number Diff line number Diff line change @@ -284,10 +284,6 @@ option(SWIFT_CHECK_ESSENTIAL_STDLIB
284
284
"Check core standard library layering by linking its essential subset"
285
285
FALSE )
286
286
287
- if (SWIFT_STDLIB_SIL_DEBUGGING)
288
- list (APPEND swift_stdlib_compile_flags "-Xfrontend" "-gsil" )
289
- endif ()
290
-
291
287
if (NOT "${CMAKE_BUILD_TYPE} " STREQUAL "MinSizeRel" )
292
288
list (APPEND swift_stdlib_compile_flags "-Xllvm" "-sil-inline-generics" )
293
289
list (APPEND swift_stdlib_compile_flags "-Xllvm" "-sil-partial-specialization" )
You can’t perform that action at this time.
0 commit comments