mirror of
https://github.com/apple/swift.git
synced 2026-02-27 18:26:24 +01:00
Not having suport for this option causes confusing and non-obvious failures in the LLDB testsuite, and some people build LLDB without also compiling the driver. rdar://168107340
8 lines
624 B
Swift
8 lines
624 B
Swift
// RUN: %swiftc_driver -driver-print-jobs -target x86_64-unknown-linux-gnu -g %s | %FileCheck %s
|
|
|
|
// CHECK: bin{{/|\\\\}}swift{{(c|c-legacy-driver|-frontend)?(\.exe)?"?}} -frontend{{.*}}-emit-module-path [[MOD:.*\.swiftmodule"?]] -emit-module-doc-path
|
|
// CHECK: bin{{/|\\\\}}swift{{(c|c-legacy-driver|-frontend)?(\.exe)?"?}} {{.*}}-emit-module [[MOD]]
|
|
// CHECK-SAME: -o [[MERGED:.*\.swiftmodule]]
|
|
// CHECK: bin{{/|\\\\}}swift{{(c|c-legacy-driver|-frontend)?(\.exe)?"?}} -modulewrap [[MERGED]]{{"?}} -target x86_64-unknown-linux-gnu -o [[OBJ:.*\.o]]
|
|
// CHECK: bin{{/|\\\\}}clang{{.*}} [[OBJ]]
|