mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
slightly better job at quoting. <rdar://problem/15808224> Point ClangImporter at the right SDK for the target Swift SVN r12310
6 lines
469 B
Swift
6 lines
469 B
Swift
// Check that the sdk ends up in the debug info.
|
|
// RUN: %swift %s -emit-llvm -g -o - | FileCheck %s
|
|
// RUN: %swift %s -emit-llvm -sdk="/Weird Location/SDK" -g -o - | FileCheck --check-prefix CHECK-EXPLICIT %s
|
|
// CHECK: metadata !"Swift version {{.*}} (based on LLVM {{.*}})", i1 false, metadata !"{{.*}} -sdk={{.*}}"
|
|
// CHECK-EXPLICIT: metadata !"Swift version {{.*}} (based on LLVM {{.*}})", i1 false, metadata !"{{.*}} \22-sdk=/Weird Location/SDK\22{{.*}}"
|