Skip to content

Commit 8d80454

Browse files
committed
[test] Record whether a crasher is a stack overflow
1 parent 4a54598 commit 8d80454

11 files changed

+11
-11
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// {"kind":"complete","signature":"swift::ide::USRBasedType::fromType(swift::Type, swift::ide::USRBasedTypeArena&)"}
1+
// {"kind":"complete","signature":"swift::ide::USRBasedType::fromType(swift::Type, swift::ide::USRBasedTypeArena&)","stackOverflow":true}
22
// RUN: not --crash %target-swift-ide-test -code-completion -batch-code-completion -skip-filecheck -code-completion-diagnostics -source-filename %s
33
protocol a: c { b(a = #^^# }
44
protocol c: a

validation-test/IDE/crashers/b94c7eab64f2421b.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// {"kind":"complete","original":"66e1ef62","signature":"swift::Mangle::ASTMangler::appendConstrainedExistential(swift::Type, swift::GenericSignature, swift::ValueDecl const*)"}
1+
// {"kind":"complete","original":"66e1ef62","signature":"swift::Mangle::ASTMangler::appendConstrainedExistential(swift::Type, swift::GenericSignature, swift::ValueDecl const*)","stackOverflow":true}
22
// RUN: not --crash %target-swift-ide-test -code-completion -batch-code-completion -skip-filecheck -code-completion-diagnostics -source-filename %s
33
protocol a<b, c> {
44
associatedtype b

validation-test/IDE/crashers/d41add6f5844fe32.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// {"kind":"complete","signature":"swift::Mangle::ASTMangler::appendExtension(swift::ExtensionDecl const*, swift::Mangle::ASTMangler::BaseEntitySignature&, llvm::StringRef)"}
1+
// {"kind":"complete","signature":"swift::Mangle::ASTMangler::appendExtension(swift::ExtensionDecl const*, swift::Mangle::ASTMangler::BaseEntitySignature&, llvm::StringRef)","stackOverflow":true}
22
// RUN: not --crash %target-swift-ide-test -code-completion -batch-code-completion -skip-filecheck -code-completion-diagnostics -source-filename %s
33
public struct Wrapper<T: P> {}
44
extension Wrapper: Q where T: Q {

validation-test/compiler_crashers_2/174f557922f5c3cc.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// {"kind":"typecheck","original":"2fdf1565","signature":"(anonymous namespace)::TypeSubstituter::transformDependentMemberType(swift::DependentMemberType*, swift::TypePosition)"}
1+
// {"kind":"typecheck","original":"2fdf1565","signature":"(anonymous namespace)::TypeSubstituter::transformDependentMemberType(swift::DependentMemberType*, swift::TypePosition)","stackOverflow":true}
22
// RUN: not --crash %target-swift-frontend -typecheck %s
33
protocol a {
44
typealias b = c

validation-test/compiler_crashers_2/2571144ba4dfcd.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// {"kind":"typecheck","signature":"(anonymous namespace)::TypePrinter::printArchetypeCommon(swift::Type, swift::GenericEnvironment*)"}
1+
// {"kind":"typecheck","signature":"(anonymous namespace)::TypePrinter::printArchetypeCommon(swift::Type, swift::GenericEnvironment*)","stackOverflow":true}
22
// RUN: not --crash %target-swift-frontend -typecheck %s
33
protocol a: Collection where Element == b.Element! {
44
associatedtype b: Collection

validation-test/compiler_crashers_2/275b15e1edc79b4f.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// {"kind":"typecheck","signature":"(anonymous namespace)::TypeSubstituter::transformDependentMemberType(swift::DependentMemberType*, swift::TypePosition)"}
1+
// {"kind":"typecheck","signature":"(anonymous namespace)::TypeSubstituter::transformDependentMemberType(swift::DependentMemberType*, swift::TypePosition)","stackOverflow":true}
22
// RUN: not --crash %target-swift-frontend -typecheck %s
33
protocol a: Collection where Iterator == Self
44
struct b<c: a>: IteratorProtocol {next -> c.Element? struct c: a {

validation-test/compiler_crashers_2/3b24e8bed8732c5c.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// {"kind":"emit-ir","signature":"swift::irgen::FulfillmentMap::searchNominalTypeMetadata(swift::irgen::IRGenModule&, swift::CanType, swift::MetadataState, unsigned int, swift::irgen::MetadataPath&&, swift::irgen::FulfillmentMap::InterestingKeysCallback const&)"}
1+
// {"kind":"emit-ir","signature":"swift::irgen::FulfillmentMap::searchNominalTypeMetadata(swift::irgen::IRGenModule&, swift::CanType, swift::MetadataState, unsigned int, swift::irgen::MetadataPath&&, swift::irgen::FulfillmentMap::InterestingKeysCallback const&)","stackOverflow":true}
22
// RUN: not --crash %target-swift-frontend -emit-ir %s
33
class a<b> {
44
}

validation-test/compiler_crashers_2/be4d5e8e2a66526.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// {"kind":"emit-silgen","signature":"swift::Mangle::ASTMangler::appendConstrainedExistential(swift::Type, swift::GenericSignature, swift::ValueDecl const*)"}
1+
// {"kind":"emit-silgen","signature":"swift::Mangle::ASTMangler::appendConstrainedExistential(swift::Type, swift::GenericSignature, swift::ValueDecl const*)","stackOverflow":true}
22
// RUN: not --crash %target-swift-frontend -emit-silgen %s
33
protocol a<b> {
44
associatedtype b

validation-test/compiler_crashers_2/c3b37ed583f2402b.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// {"kind":"typecheck","signature":"(anonymous namespace)::IsBindableVisitor::handleGenericNominalType(swift::NominalTypeDecl*, swift::CanType, swift::CanType)"}
1+
// {"kind":"typecheck","signature":"(anonymous namespace)::IsBindableVisitor::handleGenericNominalType(swift::NominalTypeDecl*, swift::CanType, swift::CanType)","stackOverflow":true}
22
// RUN: not --crash %target-swift-frontend -typecheck %s
33
class a < b protocol
44
c{associatedtype f : a<d> associatedtype d : a<f>} func e < b : c {

validation-test/compiler_crashers_2/e5dc6197d5ae06b.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// {"kind":"typecheck","signature":"swift::Mangle::ASTMangler::appendExistentialLayout(swift::ExistentialLayout const&, swift::GenericSignature, swift::ValueDecl const*)"}
1+
// {"kind":"typecheck","signature":"swift::Mangle::ASTMangler::appendExistentialLayout(swift::ExistentialLayout const&, swift::GenericSignature, swift::ValueDecl const*)","stackOverflow":true}
22
// RUN: not --crash %target-swift-frontend -typecheck %s
33
protocol a {
44
typealias b = Int

0 commit comments

Comments
 (0)