Context

public class Context

A Context represents execution states for the core LLVM IR system.

  • Retrieves the global context instance.

    Declaration

    Swift

    public static let global = Context(llvm: LLVMGetGlobalContext()!)
  • Creates a Context object from an LLVMContextRef object.

    Declaration

    Swift

    public init(llvm: LLVMContextRef)