diff --git a/test/Serialization/alignment.swift b/test/Serialization/alignment.swift index fc1f9da553061..f9ab8db3a5282 100644 --- a/test/Serialization/alignment.swift +++ b/test/Serialization/alignment.swift @@ -1,7 +1,7 @@ // RUN: rm -rf %t // RUN: mkdir -p %t // RUN: %target-swift-frontend %s -emit-module -parse-as-library -o %t -// RUN: %target-sil-opt -enable-sil-verify-all %t/alignment.swiftmodule -o - | %FileCheck %s +// RUN: %target-sil-opt -disable-sil-linking -enable-sil-verify-all %t/alignment.swiftmodule -o - | %FileCheck %s //CHECK: @_alignment(16) struct Foo { @_alignment(16) struct Foo {} diff --git a/test/Serialization/default-witness-table-deserialization.swift b/test/Serialization/default-witness-table-deserialization.swift index c7e3ad56fd442..8f7757a531e95 100644 --- a/test/Serialization/default-witness-table-deserialization.swift +++ b/test/Serialization/default-witness-table-deserialization.swift @@ -1,4 +1,4 @@ -// RUN: %target-swift-frontend %s -module-name Test -sil-serialize-all -emit-module -emit-module-path - -o /dev/null | %target-sil-opt -enable-sil-verify-all -module-name="Test" | %FileCheck %s +// RUN: %target-swift-frontend %s -module-name Test -sil-serialize-all -emit-module -emit-module-path - -o /dev/null | %target-sil-opt -enable-sil-verify-all -disable-sil-linking -module-name="Test" | %FileCheck %s // Check that default witness tables are properly deserialized. // rdar://problem/29173229 diff --git a/test/Serialization/global_init.swift b/test/Serialization/global_init.swift index 25661569c7f96..2db8590cb26dc 100644 --- a/test/Serialization/global_init.swift +++ b/test/Serialization/global_init.swift @@ -2,7 +2,7 @@ // RUN: mkdir -p %t // RUN: %target-swift-frontend -emit-module -parse-as-library -sil-serialize-all -o %t %s // RUN: llvm-bcanalyzer %t/global_init.swiftmodule | %FileCheck %s -check-prefix=BCANALYZER -// RUN: %target-sil-opt -enable-sil-verify-all %t/global_init.swiftmodule | %FileCheck %s +// RUN: %target-sil-opt -enable-sil-verify-all -disable-sil-linking %t/global_init.swiftmodule | %FileCheck %s // BCANALYZER-NOT: UnknownCode diff --git a/test/Serialization/serialize_attr.swift b/test/Serialization/serialize_attr.swift index 79e0a06fb6e0e..688fdb9cc480e 100644 --- a/test/Serialization/serialize_attr.swift +++ b/test/Serialization/serialize_attr.swift @@ -2,7 +2,7 @@ // RUN: mkdir -p %t // RUN: %target-swift-frontend -emit-module -parse-as-library -sil-serialize-all -o %t %s // RUN: llvm-bcanalyzer %t/serialize_attr.swiftmodule | %FileCheck %s -check-prefix=BCANALYZER -// RUN: %target-sil-opt -enable-sil-verify-all %t/serialize_attr.swiftmodule | %FileCheck %s +// RUN: %target-sil-opt -enable-sil-verify-all -disable-sil-linking %t/serialize_attr.swiftmodule | %FileCheck %s // BCANALYZER-NOT: UnknownCode