mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[6.2][Runtime] Add function_cast, switch from std::bit_cast.
Function types aren't always trivially copyable, e.g. with address-discriminated signed pointers on ARM64e. Introduce a function_cast helper and use that instead.
(cherry picked from commit 185b739cf1)
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
// DEP: _exit
|
||||
// DEP: _free
|
||||
// DEP: _malloc
|
||||
// DEP: _memcpy
|
||||
// DEP: _memmove
|
||||
// DEP: _memset
|
||||
// DEP: _memset_s
|
||||
|
||||
Reference in New Issue
Block a user