Commit Graph

7604 Commits

Author SHA1 Message Date
Tim Kientzle
1aae57a93f Suppress these tests under "asan", not "ASAN" 2024-08-05 14:24:23 -07:00
Tim Kientzle
661f368c6b Merge pull request #75620 from tbkka/tbkka-remotemirror-checkedcontinuation
Basic test for RemoteMirror reflecting checked continuations
2024-08-05 11:33:28 -07:00
swift-ci
2a7957d0f0 Merge remote-tracking branch 'origin/main' into rebranch 2024-08-04 10:14:37 -07:00
Slava Pestov
293a36c052 SIL: Pass SubstFlags::PreservePackExpansionLevel in a spot in SILVerifier 2024-08-03 22:40:49 -04:00
swift-ci
c61c38c920 Merge remote-tracking branch 'origin/main' into rebranch 2024-08-03 15:14:42 -07:00
Slava Pestov
cee13f8a9c Merge pull request #75653 from slavapestov/regression-test-70429
Add regression test for bug already fixed
2024-08-03 18:08:32 -04:00
Slava Pestov
ccc206d8c4 Add regression test for bug already fixed 2024-08-03 15:06:43 -04:00
swift-ci
b58607e45e Merge remote-tracking branch 'origin/main' into rebranch 2024-08-02 13:17:16 -07:00
Tim Kientzle
4e81902958 Disable these tests under ASAN 2024-08-01 16:35:58 -07:00
swift-ci
b54f5f263f Merge remote-tracking branch 'origin/main' into rebranch 2024-08-01 13:54:39 -07:00
Tim Kientzle
9debfbc08c Merge pull request #75607 from tbkka/tbkka-remotemirror-unsafecontinuation
[RemoteMirror] Handle UnsafeContinuation
2024-08-01 13:46:09 -07:00
Tim Kientzle
76adead918 Basic test for RemoteMirror reflecting checked continuations 2024-08-01 09:15:01 -07:00
Tim Kientzle
8935510bcc Do not test with back deployment since this is a new-ish feature area 2024-08-01 07:27:11 -07:00
swift-ci
1c96ae8186 Merge remote-tracking branch 'origin/main' into rebranch 2024-07-31 21:14:11 -07:00
Tim Kientzle
71f010ead4 Merge pull request #75516 from tbkka/tbkka-new-actor-reflection-test
New reflect_Actor test
2024-07-31 21:01:29 -07:00
Tim Kientzle
9e1dcd6c9f [RemoteMirror] Handle UnsafeContinuation
UnsafeContinuations can be stored in variables or properties,
so it's important for RemoteMirror to be able to at least minimally
recognize them.

This just treats an UnsafeContinuation as a refcounted pointer.
Which might be "good enough" for now.

Working towards rdar://110351406
2024-07-31 18:15:27 -07:00
swift-ci
1f997bc19d Merge remote-tracking branch 'origin/main' into rebranch 2024-07-31 18:15:05 -07:00
Tim Kientzle
725dc3c011 Merge pull request #75587 from tbkka/tbkka-remotemirror-generic-depth
[RemoteMirror] Fix generic depth calculation
2024-07-31 17:56:27 -07:00
Tim Kientzle
47de3339bb Only run this test on suitably new systems 2024-07-31 15:25:11 -07:00
Tim Kientzle
039e78d31a [RemoteMirror] Fix generic depth calculation
The "generic depth" is used to match up generic type variables.
For example:
```
struct Foo<T> { // `T` at generic depth 0
  struct Bar {
    struct Baz<U> { // 'U' at generic depth 1
      ...
}}}
```

Note in the above that `Bar` is not counted in the
generic depth.  The previous logic did count `Bar` in
the generic depth calculation, leading to mismatches
when trying to associate references to generic variables.

This adds a new test with cases like the above and of course
corrects the calculation.

Resolves rdar://127450037
2024-07-31 07:08:08 -07:00
swift-ci
0698c30ef9 Merge remote-tracking branch 'origin/main' into rebranch 2024-07-31 01:06:10 -07:00
Erik Eckstein
221ac85216 tests: disable a test in execution/interpret-with-dependencies.swift because it fails on some CI jobs 2024-07-31 10:00:00 +02:00
swift-ci
7e1a6ac487 Merge remote-tracking branch 'origin/main' into rebranch 2024-07-29 16:35:39 -07:00
LamTrinh.Dev
751a9d0127 Update reflect_multiple_types.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:12:12 +07:00
LamTrinh.Dev
a5b4f69f8e Update reflect_NSString.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:10:53 +07:00
LamTrinh.Dev
0d8d6070a7 Update reflect_NSSet.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:10:32 +07:00
LamTrinh.Dev
9ac94d3ffa Update reflect_NSNumber.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:10:13 +07:00
LamTrinh.Dev
ff63d2284e Update reflect_NSArray.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:09:15 +07:00
LamTrinh.Dev
b2f9976dd8 Update reflect_Enum_values_resilient.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:07:03 +07:00
LamTrinh.Dev
39224a1ebb Update reflect_Enum_values9.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:06:17 +07:00
LamTrinh.Dev
7c47570c63 Update reflect_Enum_values8.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:05:58 +07:00
LamTrinh.Dev
f3800be6d6 Update reflect_Enum_values7.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:05:37 +07:00
LamTrinh.Dev
f35c57e82b Update reflect_Enum_values6.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:05:17 +07:00
LamTrinh.Dev
baed1da4a9 Update reflect_Enum_values5.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:04:57 +07:00
LamTrinh.Dev
bf2f25cfa2 Update reflect_Enum_values4.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:04:36 +07:00
LamTrinh.Dev
aa0a602455 Update reflect_Enum_values3.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:04:15 +07:00
LamTrinh.Dev
cd14ab8e63 Update reflect_Enum_values2.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:03:54 +07:00
LamTrinh.Dev
450f1c6157 Update reflect_Enum_values11.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:02:12 +07:00
LamTrinh.Dev
a175465d5b Update reflect_Enum_values10.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:01:50 +07:00
LamTrinh.Dev
b81067d0b1 Update reflect_Enum_values.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:01:27 +07:00
LamTrinh.Dev
d3204c5433 Update reflect_Enum_value.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:00:42 +07:00
LamTrinh.Dev
a004b872c7 Update inherits_ObjCClasses.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 22:59:02 +07:00
LamTrinh.Dev
b9ec7744bf Update inherits_NSObject.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 22:58:24 +07:00
LamTrinh.Dev
6c2f3537fa Update functions_objc.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 22:57:54 +07:00
LamTrinh.Dev
999e287d99 Update existentials_objc.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 22:56:41 +07:00
LamTrinh.Dev
1684a50966 Update inherits_Swift.swift
Adding more comment for "UNSUPPORTED: asan".
2024-07-27 18:05:08 +07:00
LamTrinh.Dev
35c050df37 Update inherits_ObjCClasses.swift
Adding more comment for "UNSUPPORTED: asan".
2024-07-27 18:04:31 +07:00
LamTrinh.Dev
129126d5f1 Update inherits_NSObject.swift
Adding more comment for "UNSUPPORTED: asan".
2024-07-27 18:04:03 +07:00
LamTrinh.Dev
58ed9e7fd3 Update functions_objc.swift
Adding more comment for "UNSUPPORTED: asan".
2024-07-27 18:03:43 +07:00
LamTrinh.Dev
5db4317811 Update functions.swift
Adding more comment for "UNSUPPORTED: asan".
2024-07-27 18:03:18 +07:00