mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This is the C++ driver counterpart to a change that landed in the Swift driver a while ago to use the clang-linker to determine what the default linker is. This is to avoid hard-coding gold, which is deprecated and not available on some newer Linux distributions. The challenge is that these newer Linux distributions don't already have Swift so we have to use the old C++ driver implementation.
5 lines
221 B
Swift
5 lines
221 B
Swift
// RUN: %swiftc_driver_plain -target aarch64-unknown-none-none -driver-print-jobs %s 2>&1 | %FileCheck %s
|
|
|
|
// CHECK: {{.*}}swift{{c|c-legacy-driver|-frontend}}{{(.exe)?"?}} -frontend -c
|
|
// CHECK: {{.*}}clang{{(.exe)?"?}}
|