Package org.lwjgl.llvm
Class LLVMOptRemarkDebugLoc
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.LLVMOptRemarkDebugLoc
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class LLVMOptRemarkDebugLoc extends org.lwjgl.system.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; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LLVMOptRemarkDebugLoc.Buffer
An array ofLLVMOptRemarkDebugLoc
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
SIZEOF
The struct size in bytes.static int
SOURCECOLUMNNUMBER
SOURCEFILE
SOURCELINENUMBERThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description LLVMOptRemarkDebugLoc(java.nio.ByteBuffer container)
Creates aLLVMOptRemarkDebugLoc
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LLVMOptRemarkDebugLoc
create(long address)
Returns a newLLVMOptRemarkDebugLoc
instance for the specified memory address.static LLVMOptRemarkDebugLoc.Buffer
create(long address, int capacity)
Create aLLVMOptRemarkDebugLoc.Buffer
instance at the specified memory.static LLVMOptRemarkDebugLoc
createSafe(long address)
static LLVMOptRemarkDebugLoc.Buffer
createSafe(long address, int capacity)
static int
nSourceColumnNumber(long struct)
Unsafe version ofSourceColumnNumber()
.static LLVMOptRemarkStringRef
nSourceFile(long struct)
Unsafe version ofSourceFile()
.static int
nSourceLineNumber(long struct)
Unsafe version ofSourceLineNumber()
.int
sizeof()
int
SourceColumnNumber()
Returns the value of theSourceColumnNumber
field.LLVMOptRemarkStringRef
SourceFile()
Returns aLLVMOptRemarkStringRef
view of theSourceFile
field.int
SourceLineNumber()
Returns the value of theSourceLineNumber
field.
-
-
-
Constructor Detail
-
LLVMOptRemarkDebugLoc
public LLVMOptRemarkDebugLoc(java.nio.ByteBuffer container)
Creates aLLVMOptRemarkDebugLoc
instance at the current position of the specifiedByteBuffer
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()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
SourceFile
public LLVMOptRemarkStringRef SourceFile()
Returns aLLVMOptRemarkStringRef
view of theSourceFile
field.
-
SourceLineNumber
public int SourceLineNumber()
Returns the value of theSourceLineNumber
field.
-
SourceColumnNumber
public int SourceColumnNumber()
Returns the value of theSourceColumnNumber
field.
-
create
public static LLVMOptRemarkDebugLoc create(long address)
Returns a newLLVMOptRemarkDebugLoc
instance for the specified memory address.
-
createSafe
@Nullable public static LLVMOptRemarkDebugLoc createSafe(long address)
-
create
public static LLVMOptRemarkDebugLoc.Buffer create(long address, int capacity)
Create aLLVMOptRemarkDebugLoc.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static LLVMOptRemarkDebugLoc.Buffer createSafe(long address, int capacity)
-
nSourceFile
public static LLVMOptRemarkStringRef nSourceFile(long struct)
Unsafe version ofSourceFile()
.
-
nSourceLineNumber
public static int nSourceLineNumber(long struct)
Unsafe version ofSourceLineNumber()
.
-
nSourceColumnNumber
public static int nSourceColumnNumber(long struct)
Unsafe version ofSourceColumnNumber()
.
-
-