Files
swift-mirror/test/CAS/clang-target-codegen.swift
Steven Wu eacb045393 [ExplicitModule] Fix codegen target when using direct cc1 mode
When using direct-cc1 scanning mode, `-clang-target` is passed to
swift-frontend as `-Xcc` option, thus it causes swift IRGen to use
clang-target, instead of `-target` option of swift invocation. Teach
clang importer to restore target triple from swift for codegen option.

rdar://130547690
2024-06-26 14:46:35 -07:00

2.1 KiB