Files
swift-mirror/test/sil-passpipeline-dump/basic.test-sh
Roman Levenstein 6f3b326d12 IRGen should not emit bodies of public_external functions unless it is a transparent function.
Recent changes that eliminated the -sil-serialize-all mode and adding this check to IRGen allow us to get rid of ExternalFunctionDefinitionsElimination and ExternalDefsToDecls passes, which are not needed anymore.
2017-10-11 08:29:46 -07:00

15 lines
533 B
Plaintext

// RUN: %sil-passpipeline-dumper -Onone | %FileCheck %s
// RUN: %sil-passpipeline-dumper -Onone | python -c 'import json; import sys; json.load(sys.stdin)'
// CHECK: [
// CHECK: [
// CHECK: "Prespecialization",
// CHECK-NEXT: ["UsePrespecialized","use-prespecialized"]
// CHECK: ],
// CHECK: [
// CHECK: "Rest of Onone",
// CHECK-NEXT: ["AssumeSingleThreaded","sil-assume-single-threaded"],
// CHECK-NEXT: ["SILDebugInfoGenerator","sil-debuginfo-gen"]
// CHECK: ]
// CHECK: ]