File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 2
2
// RUN: %{python} %utils/split_file.py -o %t %s
3
3
4
4
// RUN: %target-swift-frontend -g -experimental-serialize-debug-info -emit-module -o %t/MyModule.swiftmodule %t/MyModule.swift -O
5
- // RUN: %target-swift-frontend -g -I %t %t/Main.swift -experimental-serialize-debug-info -O -emit-sil -o - | %FileCheck %s
5
+ // RUN: %target-swift-frontend -g -I %t %t/Main.swift -experimental-serialize-debug-info -emit-sil -o - | %FileCheck %s
6
+
7
+ // Shadow copies should not be emitted for imported functions as the imported
8
+ // function might be optimized which breaks the unoptimized invariant of
9
+ // emitting shadow copies. This invocation crashes if shadow copies are not
10
+ // disabled for imported functions
11
+ // RUN: %target-swift-frontend -g -I %t %t/Main.swift -experimental-serialize-debug-info -o - -Onone -emit-ir
6
12
7
13
// BEGIN MyModule.swift
8
14
@_alwaysEmitIntoClient @inline ( never)
You can’t perform that action at this time.
0 commit comments