swift
🍒 [6.4] [cxx-interop] Fix crash when specializing a templated SubscriptDecl
#89480
Closed

🍒 [6.4] [cxx-interop] Fix crash when specializing a templated SubscriptDecl #89480

j-hui wants to merge 230 commits into swiftlang:main from j-hui:templated-operator-crash-6.4.x
j-hui
shahmishal Merge pull request #88842 from swiftlang/6.4.x-update-checkout-6.4.x
583c9677
eeckstein fix `BridgedASTType::getValueOfIntegerType()`
1b6482cb
eeckstein Optimizer: de-virtualize deinits of non-copyable InlineArray elements
8a982ffc
meg-gupta Add support for dispatch thunk emission for borrow/mutate accessor re…
79ba43ba
meg-gupta Fix DestroyAddrHoisting miscompilation with @guaranteed results
899f493c
meg-gupta [NFC] Rename isGuaranteedAddressReturn to isAddressReturn
5d6205ff
meg-gupta AddressWalker: follow transitive uses of @guaranteed_address results
c9cc3965
meg-gupta Fix EscapeAnalysis for address results of borrow accessors
a341c772
meg-gupta Update MoveOnlyChecker to handle applies with address results as endp…
3bba3f87
eeckstein Merge pull request #88844 from eeckstein/devirtualize-inline-array-de…
73dbeba1
meg-gupta Merge pull request #88859 from meg-gupta/fixeacp
c1297614
meg-gupta Merge pull request #88856 from meg-gupta/fixborrowevocp
41e4c38b
slavapestov Sema: Don't record bogus trail changes in salvage()
746dcae8
gottesmm [rbi] Diagnose inout sending params returned via indirect out and sen…
2c93cd80
meg-gupta Merge pull request #88858 from meg-gupta/fixdestroyhoistingcp
adeb9359
kavon NFC: refactor the applyInverses bool
642d623a
kavon NFC: avoid repeated representativeGPs lookups
2c7e3a14
kavon Sema: infer inverses in opaque return types
a9e57a0b
slavapestov Sema: Print opaque result generic signatures when -debug-generic-sign…
a7436e4e
kavon Test: SE-503 opaque returns with -debug-generic-signatures
e53d12cc
gottesmm [rbi] Skip nonisolated(unsafe) captures when diagnosing sending closu…
085c4684
j-hui [6.4] [cxx-interop] Bring back ClangImporter request caching
d63b79fe
eeckstein add FrontendStatsTracer for more SIL-related compiler phases
69d1c286
eeckstein utils: add option to do a simple 3-point test with utils/scale-test a…
b591847a
eeckstein AliasAnalysis: use a complexity limit in `getApplyEffect`
080b73b1
eeckstein ComputeEscapeEffects: add a complexity limit for escape analysis of f…
e19145ab
egorzhdan [cxx-interop] Do not crash on references to global non-copyable non-m…
fad9d812
slavapestov Merge pull request #88881 from slavapestov/fix-rdar152143989-6.4
6ff288ef
hnrklssn Merge pull request #88621 from hnrklssn/swiftify-span-typedefless
285ae2d2
sepy97 Serialization: Fix silent abbreviation-ID overflow in OPTIONS_BLOCK
8931fa5b
azarovalex [SIL] Lower bridged target through TypeConverter in getLoweredBridged…
e0e786d7
kavon Merge pull request #88887 from kavon/cherry-pick-kavon-opaque-return-…
6f5d7b1d
airspeedswift SILGen: don't emit executor precondition in @objc isolated-deinit thunk
4c6b2b77
eeckstein Merge pull request #88915 from eeckstein/complexity-limit-6.4
88895e67
nkcsgexi Merge pull request #88929 from swiftlang/abbreviation-overflow-cherry…
b8e15943
egorzhdan Merge pull request #88917 from egorzhdan/egorzhdan/6.4-noncopyable-no…
3f158e81
tshortli AST: Avoid including unnecessary headers in ASTContext.h.
af49fa19
tshortli SymbolGraphGen: Expand anyAppleOS availability in docs.
4c2404b8
tshortli SymbolGraphGen: Introduce -active-platform-availability-only flag.
dc3a5015
gottesmm Merge pull request #88889 from gottesmm/release/6.4.x-rdar176385586
aa5d187c
sepy97 Serialization: Statically assert OPTIONS_BLOCK's abbrev-code width
bcda05bb
tshortli SILGen: Skip unreachable witness thunks consistently.
ebab2f5d
atrick LifetimeDependenceDiagnostics: add Builtin.makeBorrow support
24f6124f
xedin [CodeSynthesis] Factor property wrappers into isolation decision for …
4e5842d5
tshortli Sema: Avoid diagnosing @_spi_available attrs with UseAnyAppleOSAvaila…
42604ae1
tshortli Sema: Avoid diagnosing implict decls with UseAnyAppleOSAvailability.
666b3cec
tshortli AST: Improve InFlightDiagnostic::fixItRemove() heuristics.
47f901cf
tshortli Sema: Offer UseAnyAppleOSAvailability fix-its for more attribute comb…
864e3cf9
augusto2112 [RemoteInspection] Fix rebuildStorageTypeInfo for unmanaged types
0a7e04e9
tshortli Merge pull request #88957 from tshortli/expand-any-apple-os-in-symbol…
7c704615
sepy97 Merge pull request #88965 from swiftlang/abbreviation-overflow-assert…
62aa7daf
atrick LifetimeDependenceDiagnostics: calls with no deps are immortal
7ba49cba
atrick [NFC] Update test cases for immortal empty initializers
822e8b5b
atrick Merge pull request #88970 from atrick/64-fix-makeborrow-escape
ae48aa63
tshortli Merge pull request #88974 from tshortli/improve-use-any-apple-os-diag…
8e30cfd9
tshortli Merge pull request #88967 from tshortli/unreachable-witnesses-6.4.x
52b02bf4
xedin Merge pull request #88971 from xedin/rdar-175648722-6.4
1b022c13
atrick Merge pull request #88983 from atrick/64-fix-immortal-init
8fa015c3
al45tair [Backtracing][Win32] Scan the global symbol stream and deduplicate.
87a0f182
artemcm [Source Warning Control] Rename '@warn' to '@diagnose'
b5fe8136
artemcm [Source Warning Control] Exclude @diagnose from textual module interf…
0377253d
tshortli tests: Improve availability_overloads.swift.
2c8aea12
tshortli tests: Improve availability_swift_language_mode.swift.
5f1f394a
tshortli AST: Fix getAvailabilityConstraintsForDecl() for members of extensions.
9e0d42bf
eeckstein Merge pull request #88932 from azarovalex/cherry-pick-88777-6.4
ca658308
xedin Merge pull request #88944 from xedin/rdar-171570272-6.4
48f897b7
augusto2112 Merge pull request #88975 from augusto2112/cp-fix-unmanaged-pointer-6.4
947bd720
augusto2112 [RemoteInspection] Handle lowering existential constrained metatype
f32c9977
augusto2112 [RemoteInspection] Resolve OpaqueType by querying for descriptor's sy…
30179cb8
augusto2112 [IRGen] Fix debug info indirection for shadow copies of moveable values
6391006e
DougGregor [Embedded] Extend @export(interface) to non-generic types
2fc12d0a
DougGregor [Embedded] Witness tables should always have shared linkage in embedd…
e82a3a9d
DougGregor [Embedded] Extend @export(interface) to protocol conformances
10eeaf41
DougGregor Diagnose @export(interface) on generic types in embedded swift
f4c67283
DougGregor Update code completion test
6696baec
DougGregor Update test for Linux
d710c59b
DougGregor [Embedded] Add test for appropriate witness table relocations
617fbe27
jckarter LoadableByAddress: More robust handling of `Builtin.Borrow` instructi…
e752b108
artemcm Merge pull request #88923 from artemcm/64DiagnoseAttr
c9711ecb
artemcm [SourceWarningControl] Promote '@diagnose' attribute to a default lan…
d8ce2de7
al45tair Merge pull request #88488 from al45tair/eng/PR-171438432
65c63af8
gottesmm Merge pull request #88885 from gottesmm/release/6.4.x-rdar171853077
38a2fe4e
artemcm [Source Warning Control] Ensure we do not attempt to serialize `@diag…
7c12d8d0
tshortli Merge pull request #89006 from tshortli/extension-member-availability…
73b441b3
gottesmm [region-isolation] Fix false positive for init_existential_addr with …
0aa319e6
glessard [stdlib] improve doc-comments for span and bytes properties
1fb00b75
glessard [stdlib] apply code fences to doc-comment code examples
f8f688ba
glessard [stdlib] rephrase some doc-comment notes with active voice
ac1f9d49
augusto2112 Merge pull request #89011 from augusto2112/cp-6.4-cd4e937294bc
cc2a952f
glessard [stdlib] remove functions deferred from SE-0525
36c9cedd
glessard [test] remove functions deferred from SE-0525
73375dce
jckarter Merge pull request #88941 from jckarter/builtin-borrow-loadable-by-ad…
5bc06bde
eeckstein SIL: fix handling of `index_addr` in AccessUtils
199dd443
gottesmm Merge pull request #89058 from gottesmm/release/6.4.x-rdar176882987
6cf244a0
glessard Merge pull request #89060 from glessard/rdar147935102-span-bytes-docs…
53e9b71d
al45tair Merge pull request #89001 from al45tair/eng/PR-176547291-6.4
936cad56
al45tair Merge pull request #89029 from al45tair/eng/PR-171438432-6.4
6af63619
eeckstein Merge pull request #89067 from eeckstein/fix-access-utils-6.4
68074260
artemcm Merge pull request #89027 from artemcm/64-DefaultSourceWarningControl
9bc07470
xedin [Concurrency] NFC: Rename `FunctionTypeIsolation::forIsolatedCaller` …
af2379cf
tshortli Sema: Allow default implementations of conformance requirements regar…
bdb818d5
tshortli ModuleInterface: Remove warning about types shadowing modules.
5a020f43
cachemeifyoucan [ModuleTrace] Macro plugin path in trace file should be real path
5c7df46b
glessard Merge pull request #89065 from glessard/rdar139816157-se0525-followup…
008f5235
jckarter EagerSpecializer: Emit comparisons for `@specialize`-ing by integer g…
780bc792
DougGregor Merge pull request #89019 from DougGregor/export-interface-types-and-…
9a1b2c4d
drexin [IRGen] Emit deinit call if present in AlignedGroupEntry::destroy
0f6200b4
ktoso [6.4][Concurrency] Implement Continuation (SE-0528) (#89025)
648136bd
j-hui Merge pull request #88905 from j-hui/reenable-clangimporter-cacheing-6.4
3e589002
hamishknight [Sema] Fix missing async sequence `for` loop throwing diagnostic
345abeb6
mikeash [6.4][Test] Have async_task_sleep_cancel.swift sleep longer when test…
dde57f1b
tshortli Merge pull request #89110 from tshortli/remove-warning-for-type-shado…
2017de8c
artemcm Merge pull request #89051 from artemcm/64FixDiagnoseBinarySerialization
42e12cc5
xedin Merge pull request #89079 from xedin/rename-forIsolatedCaller-6.4
312b1eae
augusto2112 [RemoteInspection] Fix handling of extensions in DemanglingForTypeRef
0d3da24c
xedin [Concurrency] SILDeclRef: Fix isolation computation for local accessors
2a18c10a
xedin [SILGen] Set correct isolation on thunks that reabstract into `noniso…
e7a84c9b
drexin [AST] Print movesAsLike if present on @_rawLayout
962d4baf
Azoy Merge pull request #88990 from Azoy/nonescapable-ref
8d95446a
jckarter Merge pull request #89116 from jckarter/specialize-by-int-parameter-6.4
eed91c46
gottesmm [diagnostic] Convert swift-diagnostics-assert-on-{error,warning} and …
295d3159
hamishknight Merge pull request #89127 from hamishknight/try-fix-6.4
6f45600f
airspeedswift SILOptimizer: add FunctionConvention.formalResults; use it in PackSpe…
9ac713db
aidan-hall Bridging: Rename FunctionConvention.results to resultsWithError
417467da
mikeash [6.4][Distributed] Fix leaks in failure paths of swift_getFunctionFul…
a2988e3b
mikeash [6.4][IRGen] Include addressableForDependencies in FixedLayoutKey.
4153498f
aidan-hall Lifetimes: Replace deps on partial_apply parameters with 'captures'
a09d599c
aidan-hall Lifetimes: Test partial_apply result dependencies
e23704d6
jckarter Remove hardcoded integer bit width from test/SILOptimizer/specialize_…
b787c69b
a-viv-a Merge pull request #89174 from jckarter/generalize-specialize-int-tes…
da916d85
airspeedswift Sema: fix crash diagnosing inverse on class-bound-protocol compositio…
4bb44525
mikeash [6.4][Reflection] Support parameter packs in generic substitutions.
a0f8f97d
drexin Merge pull request #89070 from drexin/wip-166720900-6.4.x
7baaf13e
drexin Merge pull request #89118 from drexin/wip-166921106-6.4
9bb6b353
xedin Merge pull request #89142 from xedin/few-fixes-for-isolation-computat…
adb7ce7b
gottesmm Merge pull request #88937 from gottesmm/release/6.4.x-rdar176471347
c85e3d16
xedin [TypeChecker] PropertyWrappers: When setting projected value setter a…
e89f3407
augusto2112 Merge pull request #89135 from augusto2112/cp-6.4-fix-cross-mod-exten…
e60446ec
adrian-prantl Merge pull request #89012 from augusto2112/cp-6.4-5765606c10cd
ec97759d
hamishknight Merge pull request #89176 from hamishknight/inverse-fix-6.4
01d0a07e
mikeash Merge pull request #89175 from mikeash/remote-mirror-variadic-generic…
f55b8ffb
mikeash Merge pull request #89170 from mikeash/addressable-for-dependencies-d…
336094e2
mikeash Merge pull request #89129 from mikeash/async-task-sleep-cancel-longer…
2cb47d15
mikeash Merge pull request #89169 from mikeash/swift_getFunctionFullNameFromM…
adb98d0b
DougGregor [CMake] Put the creation of .swiftsourceinfo files behind SWIFT_STDLI…
a783e621
DougGregor Address code review feedback
4e6f5617
DougGregor Drop redundant setting of source-info flags
9940ef44
patrykstefanski [cxx-interop] Guard Span-referencing declarations in Cxx module inter…
25cbb4ef
finagolfin [6.4] build.ps1: change the minimum Android API to 23 (#88996)
c18d2930
atrick Fix generic specialization of functions with lifetime dependencies.
95589bae
aidan-hall Merge pull request #89165 from aidan-hall/lifedep-partial-apply-resul…
19a0e9ce
aidan-hall Merge pull request #89164 from aidan-hall/pack-opt-nothrow-6.4
5db0a044
susmonteiro [cxx-interop] Fix abiName of C++ templates
8aef74cd
slavapestov Sema: Fix type parameter/archetype mixup in createImplicitConstructor()
bd32baa5
adrian-prantl Merge pull request #89064 from augusto2112/cp-6.4-6364a4859bbb
834b7212
atrick Merge pull request #89199 from atrick/64-fix-specialize-lifedep
855157c6
patrykstefanski Merge pull request #89195 from patrykstefanski/add-guards-for-swift-s…
2090d6a1
tshortli Sema: Add source loc to implicit CGFloat/Double conversion.
ab1adc75
slavapestov Merge pull request #89219 from slavapestov/create-implicit-constructo…
3a065fab
tshortli Merge pull request #89233 from tshortli/member-import-visibility-cgfl…
cfe03154
Snowy1803 [DebugInfo] Invalidate alloc_stack varinfo in sil-based debuginfo
87be410c
Snowy1803 [DebugInfo] Move fragments from alloc_stack to debug_value in SILSROA
800c5c88
Snowy1803 [DebugInfo] Remove DIExpr from AllocStackInst
095de7ec
Snowy1803 [DebugInfo] Move op_deref for alloc_stack stripping from SIL to IRGen
384fdcca
Snowy1803 [DebugInfo] Add implicit op_deref to AllocStackInst
3c7223c1
Snowy1803 [Tests] [DebugInfo] Update all tests to use op_deref on address types
51db5de4
Snowy1803 [IRGen] [DebugInfo] Replace IndirectionKind in DebugInfo handling wit…
68e80ef1
xedin Merge pull request #89182 from xedin/rdar-176978806-6.4
c3e1472c
susmonteiro Merge pull request #89222 from susmonteiro/susmonteiro/6.4/template-m…
80c47687
hnrklssn Merge pull request #88928 from hnrklssn/swiftify-span-typedefless-6.4
61912a8a
Azoy Merge pull request #89144 from Azoy/ref-escapable-64
9507bb38
tshortli Merge pull request #88891 from tshortli/member-import-visibility-allo…
7efc5d48
glessard [test] add idiomatic availability requirements
a152b466
glessard [test] Ref and MutableRef conformances
d4a6745f
glessard [stdlib] add missing conformances to Ref and MutableRef
277baa1e
AnthonyLatsis AST: Adjust to renamed `llvm::Intrinsic::IITDescriptor` fields
9451c03a
Xazax-hun [6.4][cxx-interop] SWIFT_REFCOUNTED_PTR improvements
071af909
eeckstein tests: fix flaky many_struct_properties_scale_test.swift.gyb and alia…
da757ef7
eeckstein tests: don't fail if instruction counts are not available for scale t…
c7bbd696
Snowy1803 Merge pull request #89259 from Snowy1803/6.4-deref-refactor
fe7f2a53
Azoy Reintroduce BorrowInout feature to guard Ref and MutableRef
9a65ac31
cachemeifyoucan Merge pull request #89112 from cachemeifyoucan/eng/PR-176985241-release
7cdf177f
meg-gupta Add a sanity check to ensure we don't have self with address type whi…
5687d110
glessard Merge pull request #89262 from glessard/rdar177198190-ref-mutableref-…
c0bcac72
Xazax-hun Merge pull request #89280 from Xazax-hun/refcounted-ptr-improvements-…
135823cf
eeckstein LoopInvariantCodeMotion: fix a crash when trying to hoist `load [take]`
66d5caf5
eeckstein LoopInvariantCodeMotion: fix an ownership error caused by hoisting tr…
acfe74b5
Azoy Make BorrowInout interesting again
4d14a6e0
eeckstein Merge pull request #89289 from eeckstein/fix-flaky-tests-6.4
f4ce680f
patrykstefanski [cxx-interop] Allow function template instantiations with optional fo…
2a9a23d8
rintaro [Macros] Don't send Syntax.Kind.accessor to plugins with protocol < 8
ffc9d9d3
hamishknight [CS] Remove `shouldHaveDirectCalleeOverload`
edd4aafc
DougGregor Merge pull request #89192 from DougGregor/cmake-control-swiftsourcein…
00ec1200
DougGregor The os_log section name comes from the module "os" rather than "OSLog"
4cc47356
meg-gupta Merge pull request #89304 from meg-gupta/cpfixselfcheck
a62b4092
tshortli Sema: Add diagnostic group for useless availability check warning.
4ac2e536
tshortli stdlib: Suppress useless availability check warnings with @diagnose.
f78f7d10
eeckstein Merge pull request #89319 from eeckstein/licm-fix-6.4
a334c949
hamishknight Merge pull request #89336 from hamishknight/remove-assert-6.4
b9c2eeb5
rintaro Merge pull request #89332 from rintaro/6.4-plugin-message-accessor-sy…
5526ed9f
hamishknight Merge pull request #89275 from swiftlang/jepa-release
cda544d3
Snowy1803 [SILPrinter] Include prologue bit with verbose debuginfo
c1fa8723
Snowy1803 [SILGen] [DebugInfo] Mark closure capture instructions as prologue
cee60f4a
Snowy1803 [DebugInfo] Remove boxes being interpreted as boxes for async code
39e9ce8f
Snowy1803 [DebugInfo] Add IRGen support for alloc_box varinfo from textual SIL
c568f0aa
tshortli Merge pull request #89348 from tshortli/useless-availability-check-wa…
1e560974
dduan Merge pull request #88447 from dduan/dd/ignore-macro-in-equalified-im…
0fe039f3
glessard [stdlib] use borrow accessors in `Span`
11ba1e7b
glessard [stdlib] borrow/mutate accessors in `MutableSpan`
a8c38e18
glessard [stdlib] borrow/mutate accessors in `OutputSpan`
008fa0be
DougGregor [AST] Make RawComment handling robust against source files changing f…
e16cc3da
hamishknight Merge pull request #89370 from dduan/release/6.4.x
5f2c09f4
Snowy1803 [DebugInfo] Fix support for debug_value on alloc_box
789c9a2a
eeckstein ArrayPropertyOpt: fix an ownership error
fa3b9aee
a-viv-a [Sema] Map conformance types into generic env before sendable checking
1da97224
DougGregor Merge pull request #89387 from DougGregor/stale-sourceinfo-assert-6.4
a050f625
patrykstefanski Merge pull request #89329 from patrykstefanski/optional-frt-function-…
f1797712
glessard [stdlib] doc-comments for both `withTemporaryAllocation`
f2c9d979
DougGregor [stdlib] Use defer and typed throws in withUnsafeTemporaryAllocation
2603d0b1
glessard Merge pull request #89377 from glessard/rdar176500628-use-borrow-acce…
92fae49a
xedin [6.4][Concurrency] Adopt `nonisolated(nonsending)` on `Clock.measure`…
2ced4a1a
ktoso [6.4][Concurrency] Adopt nonsending in withUnsafeCurrentTask (#89344)
260b2ee2
Azoy Merge pull request #89301 from Azoy/borrowinout-64x
3b2586e7
a-viv-a Merge pull request #89424 from swiftlang/check-associated-type-sendab…
fbef38ab
glessard Merge pull request #89428 from glessard/rdar177956321-withTemporaryAl…
d6c54946
DougGregor Merge pull request #89429 from DougGregor/defer-temporary-alloc-6.4
749a7530
eeckstein Merge pull request #89414 from eeckstein/fix-array-property-opt-6.4
8c783836
Snowy1803 Merge pull request #89368 from Snowy1803/6.4-debug-value-box-fix
a1bc1c23
DougGregor Merge pull request #89341 from DougGregor/os-log-module-name-fix-6.4
8a73c80c
j-hui [cxx-interop] Fix crash when specializing a templated SubscriptDecl
7e2e1fda
j-hui j-hui closed this 3 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
No reviews
Assignees
No one assigned
Labels
Milestone