Commit Graph

2 Commits

Author SHA1 Message Date
Alastair Houghton
7f5f554fd9 [Test][IRGen] Disable noncopyable tests for arm64e.
There's nothing particularly interesting about testing these for
arm64e, and doing so would require changing the test to cope with
ptrauth.  Disable for arm64e instead.

rdar://140369127
2024-11-22 16:15:02 +00:00
Joe Groff
b5e79d5590 IRGen: Capture NecessaryBindings in fixed boxes that may invoke deinits.
Noncopyable types may have user-defined code in their `deinit`s that requires
passing the type's generic parameters, so a box for a captured noncopyable type
needs to capture the generic environment even when the captured type is fixed-
layout. Fixes rdar://138958210.
2024-11-20 11:19:10 -08:00