Commit Graph

4 Commits

Author SHA1 Message Date
Dario Rexin
7f1bf3bdcb Merge pull request #67673 from drexin/wip-113276992
[Test] Codesign dylib in layout_string_witnesses_objc.swift
2023-08-02 21:30:14 -07:00
Dario Rexin
da602b27fd [Test] Codesign dylib in layout_string_witnesses_objc.swift
rdar://113276992
2023-08-02 10:29:06 -07:00
Dario Rexin
fb11b50acd [Test] Fix FileCheck comments in test/Interpreter/layout_string_witnesses_objc.swift 2023-07-28 15:09:58 -07:00
Dario Rexin
f257b3bbab [Runtime] Fix _swift_refCountBytesForMetatype for reference types
_swift_addRefCountStringForMetatype and _swift_refCountBytesForMetatype diverged in the code that determines whether a type is a reference, causing the size number of ref count bytes to differ from the actually used bytes. This can cause early termination of the runtime interpreter functions, which in turn causes unbalanced reference counts.

rdar://112474091
2023-07-28 11:55:53 -07:00