mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This is something that I have wanted to add for a while and have never had the need to. I need it now to fix a bug in the bots where I am forced to use IRGen output to test ThunkLowering which causes platform level differences to show up in the FileCheck output. With this, I can just emit the actual lowered SIL output and just test it at that level. There are other cases like this where we are unable to test lowered SIL so we use IRGen creating this brittleness. Hopefully this stops this problem from showing up in the future. rdar://138845396
7 lines
119 B
Swift
7 lines
119 B
Swift
// RUN: %target-swift-frontend -o - -emit-lowered-sil %s | %FileCheck %s
|
|
|
|
// CHECK: sil_stage lowered
|
|
|
|
func test() {
|
|
}
|