File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
// Check that the sdk and resource dirs end up in the debug info if we build for
2
2
// a Darwin target and set the RC_DEBUG_OPTIONS environment variable. This
3
3
// matches the behavior found in Clang.
4
- // RUN: %swiftc_driver %s -emit-ir -g -target x86_64-apple-macosx10.10 -o - | %FileCheck %s
5
- // RUN: RC_DEBUG_OPTIONS=1 %swiftc_driver %s -emit-ir -g -target x86_64-apple-macosx10.10 -o - | %FileCheck --check-prefix CHECK-VAR-SET %s
4
+ // RUN: %swiftc_driver %s -emit-ir -g -target x86_64-apple-macosx10.10 -parse-stdlib -module-name scratch - o - | %FileCheck %s
5
+ // RUN: RC_DEBUG_OPTIONS=1 %swiftc_driver %s -emit-ir -g -target x86_64-apple-macosx10.10 -parse-stdlib -module-name scratch - o - | %FileCheck --check-prefix CHECK-VAR-SET %s
6
6
// CHECK: !DICompileUnit({{.*}} producer: "{{(Apple )?Swift version [^"]+}}"
7
7
// CHECK-NOT: flags: "
8
8
// CHECK-VAR-SET: !DICompileUnit({{.*}}producer: "{{(Apple )?Swift version [^"]+}}"
You can’t perform that action at this time.
0 commit comments