Target
public class Target
A Target
object represents an object that encapsulates information about
a host architecture, vendor, ABI, etc.
-
Creates a
Target
object from an LLVM target object.Declaration
Swift
public init(llvm: LLVMTargetRef)
-
The name of this target.
Declaration
Swift
public var name: String { get }
-
The description of this target.
Declaration
Swift
public var targetDescription: String { get }
-
Returns a sequence of all targets in the global list of targets.
Declaration
Swift
public static var allTargets: AnySequence<Target> { get }
-
Returns the first target in the global target list, if it exists.
Declaration
Swift
public static var firstTarget: Target? { get }
-
Returns the target following this target in the global target list, if it exists.
Declaration
Swift
public func next() -> Target?