mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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
2.1 KiB
2.1 KiB