Becca Royal-Gordon
80f38be3b8
[PrintAsClang] Fix thunks for Never funcs
...
Swift-to-C++ thunk printing for functions didn’t really take into account Swift’s `Never` type. This type maps to `SWIFT_NORETURN`, but it also requires other tweaks to code generation, such as omitting the `return` keyword. (Removing that requires minor changes to many tests.)
Fixes rdar://124137073.
2024-03-29 22:12:19 -07:00
Mike Ash
20ae0ad34e
[Test] Disable some failing tests on ARM64e.
...
Disabling these tests:
IRGen/ptrauth-foreign.sil
IRGen/ptrauth_field_fptr_import.swift
Interop/SwiftToCxx/class/swift-class-virtual-method-dispatch-arm64e.swift
Interop/SwiftToCxx/class/swift-class-virtual-method-dispatch.swift
Interop/SwiftToCxx/class/swift-subclass-of-resilient-class-virtual-method-dispatch.swift
2023-02-14 11:39:44 -05:00
Alex Lorenz
c9f9d9025b
[interop][SwiftToCxx] fix offset computation for 32 bit platforms for vtable dispatch
2023-02-13 10:30:38 -08:00
Alex Lorenz
981e828b2a
[interop][SwiftToCxx] dispatch swift class methods using signed isa and signed method pointer on arm64e
2023-02-11 14:05:59 -08:00
Alex Lorenz
b63577d89e
[interop][SwiftToCxx] use vtable/thunk to dispatch class subscript getters
2023-02-11 05:55:54 -08:00
Alex Lorenz
71e4462508
[interop][SwiftToCxx] use vtable offset/thunk to dispatch class property accessors
2023-02-11 05:55:47 -08:00
Alex Lorenz
b7007cb748
[interop][SwiftToCxx] dispatch Swift class methods correctly using the vtable
2023-02-09 20:20:53 -08:00