DebugLocation

public struct DebugLocation : Metadata

A DebugLocation represents a location in source.

  • Declaration

    Swift

    public func asMetadata() -> LLVMMetadataRef
  • Retrieves the line described by this location.

    Declaration

    Swift

    public var line: Int { get }
  • Retrieves the column described by this location.

    Declaration

    Swift

    public var column: Int { get }
  • Retrieves the enclosing scope containing this location.

    Declaration

    Swift

    public var scope: DIScope { get }
  • Declaration

    Swift

    public init(llvm: LLVMMetadataRef)