File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 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)
1515 endif ()
1616endif ()
1717
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 ()
1923
2024# Build the runtime with -Wall to catch, e.g., uninitialized variables
2125# warnings.
Original file line number Diff line number Diff line change @@ -284,10 +284,6 @@ option(SWIFT_CHECK_ESSENTIAL_STDLIB
284284 "Check core standard library layering by linking its essential subset"
285285 FALSE )
286286
287- if (SWIFT_STDLIB_SIL_DEBUGGING)
288- list (APPEND swift_stdlib_compile_flags "-Xfrontend" "-gsil" )
289- endif ()
290-
291287if (NOT "${CMAKE_BUILD_TYPE} " STREQUAL "MinSizeRel" )
292288 list (APPEND swift_stdlib_compile_flags "-Xllvm" "-sil-inline-generics" )
293289 list (APPEND swift_stdlib_compile_flags "-Xllvm" "-sil-partial-specialization" )
You can’t perform that action at this time.
0 commit comments