Flags
public class Flags
Represents flags that describe information about the module for use by an external entity e.g. the dynamic linker.
Warning
Module flags are not a general runtime metadata infrastructure, and may be stripped by LLVM. As of the current release, LLVM hardcodes support for object-file emission of module flags related to Objective-C.-
Enumerates the supported behaviors for resolving collisions when two module flags share the same key. These collisions can occur when the different flags are inserted under the same key, or when modules containing flags under the same key are merged.
See moreDeclaration
Swift
public enum Behavior
-
Represents an entry in the module flags structure.
See moreDeclaration
Swift
public struct Entry
-
Retrieves a flag at the given index.
Declaration
Swift
public subscript(index: Int) -> Entry { get }
Parameters
index
The index to retrieve.
Return Value
An entry describing the flag at the given index.
-
Returns the number of module flag metadata entries.
Declaration
Swift
public var count: Int { get }