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
-
Creates a
Context
object usingLLVMContextCreate
Declaration
Swift
public init()
-
Creates a
Context
object from anLLVMContextRef
object.Declaration
Swift
public init(llvm: LLVMContextRef, ownsContext: Bool = false)