Skip to content

Commit e13736d

Browse files
committed
Merge pull request #878 from practicalswift/crash-type-annotations
[crash triaging] Add crash type annotations and Valgrind output for memory errors
2 parents 92e5dab + 747a6eb commit e13736d

7 files changed

+7
-0
lines changed

validation-test/compiler_crashers/16694-swift-constraints-constraintsystem-opentype.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
55
// Test case found by fuzzing
66

7+
// Crash type: memory error ("Invalid read of size 4")
78
var a{class d{var b=B{}let c=(x:d<T{{}}class B<T where h=d>:a

validation-test/compiler_crashers/24394-swift-typevariabletype-implementation-getrepresentative.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
55
// Test case found by fuzzing
66

7+
// Crash type: memory error ("Invalid read of size 8")
78
[Void{}}struct A
89
protocol A{typealias b:A func b
910
class A<S:e

validation-test/compiler_crashers/25458-swift-archetypetype-getnestedtype.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
55
// Test case found by fuzzing
66

7+
// Crash type: memory error ("Invalid read of size 8")
78
class a{
89
class c
910
class B:A

validation-test/compiler_crashers/27203-swift-typeloc-iserror.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
55
// Test case found by fuzzing
66

7+
// Crash type: memory error ("Invalid read of size 4")
78
class n{protocol a:d var d={class b:a

validation-test/compiler_crashers/27443-matchwitness.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
55
// Test case found by fuzzing
66

7+
// Crash type: memory error ("Invalid read of size 8")
78
{e
89
struct B:a{let t:a}
910
protocol a{let t:a

validation-test/compiler_crashers/27754-swift-typechecker-resolvetypeincontext.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
55
// Test case found by fuzzing
66

7+
// Crash type: memory error ("Invalid read of size 8")
78
class d{let f=a< class a{extension{struct Q<h:a{protocol P{func<

validation-test/compiler_crashers/28155-swift-typechecker-validategenericfuncsignature.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
55
// Test case found by fuzzing
66

7+
// Crash type: memory error ("Invalid read of size 2")
78
class A{func b->Self{{{}}class B<n{let a=self

0 commit comments

Comments
 (0)