mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #72218 from aschwaighofer/fragile_resilient_protocols
IRGen: Add code to support building fragile resilient protocol witnesses
This commit is contained in:
@@ -629,6 +629,11 @@ function(_compile_swift_files
|
||||
list(APPEND swift_flags "-Xfrontend" "-swift-async-frame-pointer=never")
|
||||
endif()
|
||||
|
||||
if (SWIFT_STDLIB_USE_FRAGILE_RESILIENT_PROTOCOL_WITNESS_TABLES)
|
||||
list(APPEND swift_flags "-Xfrontend" "-enable-fragile-relative-protocol-tables")
|
||||
list(APPEND swift_flags "-enable-library-evolution")
|
||||
endif()
|
||||
|
||||
if(SWIFT_STDLIB_DISABLE_INSTANTIATION_CACHES)
|
||||
list(APPEND swift_flags "-Xfrontend" "-disable-preallocated-instantiation-caches")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user