UnrealABI
public struct UnrealABI : TargetABI
An ABI we can use to interpret code when matching some real ABI doesn’t matter.
-
An instance.
Declaration
Swift
public init() -
The size of a word in
bitsDeclaration
Swift
private let bitsInAWord: Int -
The maximal alignment of a builtin type in bytes.
Declaration
Swift
private let maxAlignment: Int -
Returns the layout for a
bitWidth-bit type.Precondition
bitWidthis a power of 2.Declaration
Swift
private func layout(bitWidth: Int) -> TypeLayout.Bytes -
Declaration
Swift
public func layout(_ t: BuiltinType) -> TypeLayout.Bytes
View on GitHub