mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Backtracing] Remove support for implicit import of _Backtracing.
We're going to rename the module to Runtime, and it isn't going to be an implicit import, so we don't need any of this. rdar://124913332
This commit is contained in:
@@ -28,13 +28,7 @@ function(_add_host_swift_compile_options name)
|
||||
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xfrontend -disable-implicit-string-processing-module-import>")
|
||||
endif()
|
||||
|
||||
# Same for backtracing
|
||||
if (SWIFT_SUPPORTS_DISABLE_IMPLICIT_BACKTRACING_MODULE_IMPORT)
|
||||
target_compile_options(${name} PRIVATE
|
||||
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xfrontend -disable-implicit-backtracing-module-import>")
|
||||
endif()
|
||||
|
||||
if(SWIFT_ANALYZE_CODE_COVERAGE)
|
||||
if(SWIFT_ANALYZE_CODE_COVERAGE)
|
||||
set(_cov_flags $<$<COMPILE_LANGUAGE:Swift>:-profile-generate -profile-coverage-mapping>)
|
||||
target_compile_options(${name} PRIVATE ${_cov_flags})
|
||||
target_link_options(${name} PRIVATE ${_cov_flags})
|
||||
|
||||
Reference in New Issue
Block a user