Files
swift-mirror/test/DebugInfo/sdk.swift
Adrian Prantl d8551038fe Upgrade debug info tests to the new LLVM debug metadata format.
Thanks to Duncan for helping out with the upgrading!

Swift SVN r22512
2014-10-04 00:25:27 +00:00

6 lines
426 B
Swift

// Check that the sdk and resource dirs end up in the debug info.
// RUN: %swiftc_driver %s -emit-ir -g -o - | FileCheck %s
// RUN: %swiftc_driver %s -emit-ir -sdk "/Weird Location/SDK" -g -o - | FileCheck --check-prefix CHECK-EXPLICIT %s
// CHECK: \00Swift version {{.*}}\000{{.*}} -resource-dir {{.*}}"
// CHECK-EXPLICIT: \00Swift version {{.*}}\000{{.*}} -sdk \22/Weird Location/SDK\22{{.*}} -resource-dir {{.*}}"