Class LLVMOptRemarkDebugLoc

  • All Implemented Interfaces:
    Pointer

    public class LLVMOptRemarkDebugLoc
    extends Struct
    DebugLoc containing File, Line and Column.

    Member documentation

    • SourceFile – file:
    • SourceLineNumber – line:
    • SourceColumnNumber – column:

    Layout

    
     struct LLVMOptRemarkDebugLoc {
         LLVMOptRemarkStringRef SourceFile;
         uint32_t SourceLineNumber;
         uint32_t SourceColumnNumber;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • SOURCEFILE, SOURCELINENUMBER, SOURCECOLUMNNUMBER

        The struct member offsets.
    • Constructor Detail

      • LLVMOptRemarkDebugLoc

        public LLVMOptRemarkDebugLoc​(java.nio.ByteBuffer container)
        Creates a LLVMOptRemarkDebugLoc instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.

    • Method Detail

      • sizeof

        public int sizeof()
        Description copied from class: Struct
        Returns sizeof(struct).
        Specified by:
        sizeof in class Struct
      • SourceLineNumber

        public int SourceLineNumber()
        Returns the value of the SourceLineNumber field.
      • SourceColumnNumber

        public int SourceColumnNumber()
        Returns the value of the SourceColumnNumber field.
      • create

        public static LLVMOptRemarkDebugLoc create​(long address)
        Returns a new LLVMOptRemarkDebugLoc instance for the specified memory address.
      • createSafe

        @Nullable
        public static LLVMOptRemarkDebugLoc createSafe​(long address)
        Like create, but returns null if address is NULL.
      • nSourceLineNumber

        public static int nSourceLineNumber​(long struct)
        Unsafe version of SourceLineNumber().
      • nSourceColumnNumber

        public static int nSourceColumnNumber​(long struct)
        Unsafe version of SourceColumnNumber().