Package org.lwjgl.llvm
Class LLVMObject
java.lang.Object
org.lwjgl.llvm.LLVMObject
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded fromLLVMCore.getLibrary(). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic longLLVMBinaryCopyMemoryBuffer(long BR) LLVMMemoryBufferRef LLVMBinaryCopyMemoryBuffer(LLVMBinaryRef BR)static intLLVMBinaryGetType(long BR) LLVMBinaryType LLVMBinaryGetType(LLVMBinaryRef BR)static longLLVMCreateBinary(long MemBuf, long Context, PointerBuffer ErrorMessage) LLVMBinaryRef LLVMCreateBinary(LLVMMemoryBufferRef MemBuf, LLVMContextRef Context, char ** ErrorMessage)static longLLVMCreateObjectFile(long MemBuf) LLVMObjectFileRef LLVMCreateObjectFile(LLVMMemoryBufferRef MemBuf)static voidLLVMDisposeBinary(long BR) void LLVMDisposeBinary(LLVMBinaryRef BR)static voidLLVMDisposeObjectFile(long ObjectFile) void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile)static voidLLVMDisposeRelocationIterator(long RI) void LLVMDisposeRelocationIterator(LLVMRelocationIteratorRef RI)static voidLLVMDisposeSectionIterator(long SI) void LLVMDisposeSectionIterator(LLVMSectionIteratorRef SI)static voidLLVMDisposeSymbolIterator(long SI) void LLVMDisposeSymbolIterator(LLVMSymbolIteratorRef SI)static longLLVMGetRelocationOffset(long RI) uint64_t LLVMGetRelocationOffset(LLVMRelocationIteratorRef RI)static longLLVMGetRelocations(long Section) LLVMRelocationIteratorRef LLVMGetRelocations(LLVMSectionIteratorRef Section)static longLLVMGetRelocationSymbol(long RI) LLVMSymbolIteratorRef LLVMGetRelocationSymbol(LLVMRelocationIteratorRef RI)static longLLVMGetRelocationType(long RI) uint64_t LLVMGetRelocationType(LLVMRelocationIteratorRef RI)static @Nullable StringLLVMGetRelocationTypeName(long RI) char const * LLVMGetRelocationTypeName(LLVMRelocationIteratorRef RI)static @Nullable StringLLVMGetRelocationValueString(long RI) char const * LLVMGetRelocationValueString(LLVMRelocationIteratorRef RI)static longLLVMGetSectionAddress(long SI) uint64_t LLVMGetSectionAddress(LLVMSectionIteratorRef SI)static booleanLLVMGetSectionContainsSymbol(long SI, long Sym) LLVMBool LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI, LLVMSymbolIteratorRef Sym)static @Nullable StringLLVMGetSectionContents(long SI) char const * LLVMGetSectionContents(LLVMSectionIteratorRef SI)static @Nullable StringLLVMGetSectionName(long SI) char const * LLVMGetSectionName(LLVMSectionIteratorRef SI)static longLLVMGetSections(long ObjectFile) LLVMSectionIteratorRef LLVMGetSections(LLVMObjectFileRef ObjectFile)static longLLVMGetSectionSize(long SI) uint64_t LLVMGetSectionSize(LLVMSectionIteratorRef SI)static longLLVMGetSymbolAddress(long SI) uint64_t LLVMGetSymbolAddress(LLVMSymbolIteratorRef SI)static @Nullable StringLLVMGetSymbolName(long SI) char const * LLVMGetSymbolName(LLVMSymbolIteratorRef SI)static longLLVMGetSymbols(long ObjectFile) LLVMSymbolIteratorRef LLVMGetSymbols(LLVMObjectFileRef ObjectFile)static longLLVMGetSymbolSize(long SI) uint64_t LLVMGetSymbolSize(LLVMSymbolIteratorRef SI)static booleanLLVMIsRelocationIteratorAtEnd(long Section, long RI) LLVMBool LLVMIsRelocationIteratorAtEnd(LLVMSectionIteratorRef Section, LLVMRelocationIteratorRef RI)static booleanLLVMIsSectionIteratorAtEnd(long ObjectFile, long SI) LLVMBool LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef ObjectFile, LLVMSectionIteratorRef SI)static booleanLLVMIsSymbolIteratorAtEnd(long ObjectFile, long SI) LLVMBool LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef ObjectFile, LLVMSymbolIteratorRef SI)static longLLVMMachOUniversalBinaryCopyObjectForArch(long BR, CharSequence Arch, PointerBuffer ErrorMessage) LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, char const * Arch, size_t ArchLen, char ** ErrorMessage)static longLLVMMachOUniversalBinaryCopyObjectForArch(long BR, ByteBuffer Arch, PointerBuffer ErrorMessage) LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, char const * Arch, size_t ArchLen, char ** ErrorMessage)static voidLLVMMoveToContainingSection(long Sect, long Sym) void LLVMMoveToContainingSection(LLVMSectionIteratorRef Sect, LLVMSymbolIteratorRef Sym)static voidLLVMMoveToNextRelocation(long RI) void LLVMMoveToNextRelocation(LLVMRelocationIteratorRef RI)static voidLLVMMoveToNextSection(long SI) void LLVMMoveToNextSection(LLVMSectionIteratorRef SI)static voidLLVMMoveToNextSymbol(long SI) void LLVMMoveToNextSymbol(LLVMSymbolIteratorRef SI)static longLLVMObjectFileCopySectionIterator(long BR) LLVMSectionIteratorRef LLVMObjectFileCopySectionIterator(LLVMBinaryRef BR)static longLLVMObjectFileCopySymbolIterator(long BR) LLVMSymbolIteratorRef LLVMObjectFileCopySymbolIterator(LLVMBinaryRef BR)static booleanLLVMObjectFileIsSectionIteratorAtEnd(long BR, long SI) LLVMBool LLVMObjectFileIsSectionIteratorAtEnd(LLVMBinaryRef BR, LLVMSectionIteratorRef SI)static booleanLLVMObjectFileIsSymbolIteratorAtEnd(long BR, long SI) LLVMBool LLVMObjectFileIsSymbolIteratorAtEnd(LLVMBinaryRef BR, LLVMSymbolIteratorRef SI)static longnLLVMCreateBinary(long MemBuf, long Context, long ErrorMessage) LLVMBinaryRef LLVMCreateBinary(LLVMMemoryBufferRef MemBuf, LLVMContextRef Context, char ** ErrorMessage)static longnLLVMGetRelocationTypeName(long RI) char const * LLVMGetRelocationTypeName(LLVMRelocationIteratorRef RI)static longnLLVMGetRelocationValueString(long RI) char const * LLVMGetRelocationValueString(LLVMRelocationIteratorRef RI)static longnLLVMGetSectionContents(long SI) char const * LLVMGetSectionContents(LLVMSectionIteratorRef SI)static longnLLVMGetSectionName(long SI) char const * LLVMGetSectionName(LLVMSectionIteratorRef SI)static longnLLVMGetSymbolName(long SI) char const * LLVMGetSymbolName(LLVMSymbolIteratorRef SI)static longnLLVMMachOUniversalBinaryCopyObjectForArch(long BR, long Arch, long ArchLen, long ErrorMessage) LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, char const * Arch, size_t ArchLen, char ** ErrorMessage)
-
Field Details
-
LLVMBinaryTypeArchive
public static final int LLVMBinaryTypeArchive- See Also:
-
LLVMBinaryTypeMachOUniversalBinary
public static final int LLVMBinaryTypeMachOUniversalBinary- See Also:
-
LLVMBinaryTypeCOFFImportFile
public static final int LLVMBinaryTypeCOFFImportFile- See Also:
-
LLVMBinaryTypeIR
public static final int LLVMBinaryTypeIR- See Also:
-
LLVMBinaryTypeWinRes
public static final int LLVMBinaryTypeWinRes- See Also:
-
LLVMBinaryTypeCOFF
public static final int LLVMBinaryTypeCOFF- See Also:
-
LLVMBinaryTypeELF32L
public static final int LLVMBinaryTypeELF32L- See Also:
-
LLVMBinaryTypeELF32B
public static final int LLVMBinaryTypeELF32B- See Also:
-
LLVMBinaryTypeELF64L
public static final int LLVMBinaryTypeELF64L- See Also:
-
LLVMBinaryTypeELF64B
public static final int LLVMBinaryTypeELF64B- See Also:
-
LLVMBinaryTypeMachO32L
public static final int LLVMBinaryTypeMachO32L- See Also:
-
LLVMBinaryTypeMachO32B
public static final int LLVMBinaryTypeMachO32B- See Also:
-
LLVMBinaryTypeMachO64L
public static final int LLVMBinaryTypeMachO64L- See Also:
-
LLVMBinaryTypeMachO64B
public static final int LLVMBinaryTypeMachO64B- See Also:
-
LLVMBinaryTypeWasm
public static final int LLVMBinaryTypeWasm- See Also:
-
LLVMBinaryTypeOffload
public static final int LLVMBinaryTypeOffload- See Also:
-
-
Method Details
-
nLLVMCreateBinary
public static long nLLVMCreateBinary(long MemBuf, long Context, long ErrorMessage) LLVMBinaryRef LLVMCreateBinary(LLVMMemoryBufferRef MemBuf, LLVMContextRef Context, char ** ErrorMessage) -
LLVMCreateBinary
LLVMBinaryRef LLVMCreateBinary(LLVMMemoryBufferRef MemBuf, LLVMContextRef Context, char ** ErrorMessage) -
LLVMDisposeBinary
public static void LLVMDisposeBinary(long BR) void LLVMDisposeBinary(LLVMBinaryRef BR) -
LLVMBinaryCopyMemoryBuffer
public static long LLVMBinaryCopyMemoryBuffer(long BR) LLVMMemoryBufferRef LLVMBinaryCopyMemoryBuffer(LLVMBinaryRef BR) -
LLVMBinaryGetType
public static int LLVMBinaryGetType(long BR) LLVMBinaryType LLVMBinaryGetType(LLVMBinaryRef BR) -
nLLVMMachOUniversalBinaryCopyObjectForArch
public static long nLLVMMachOUniversalBinaryCopyObjectForArch(long BR, long Arch, long ArchLen, long ErrorMessage) LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, char const * Arch, size_t ArchLen, char ** ErrorMessage) -
LLVMMachOUniversalBinaryCopyObjectForArch
public static long LLVMMachOUniversalBinaryCopyObjectForArch(long BR, ByteBuffer Arch, PointerBuffer ErrorMessage) LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, char const * Arch, size_t ArchLen, char ** ErrorMessage) -
LLVMMachOUniversalBinaryCopyObjectForArch
public static long LLVMMachOUniversalBinaryCopyObjectForArch(long BR, CharSequence Arch, PointerBuffer ErrorMessage) LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, char const * Arch, size_t ArchLen, char ** ErrorMessage) -
LLVMObjectFileCopySectionIterator
public static long LLVMObjectFileCopySectionIterator(long BR) LLVMSectionIteratorRef LLVMObjectFileCopySectionIterator(LLVMBinaryRef BR) -
LLVMObjectFileIsSectionIteratorAtEnd
public static boolean LLVMObjectFileIsSectionIteratorAtEnd(long BR, long SI) LLVMBool LLVMObjectFileIsSectionIteratorAtEnd(LLVMBinaryRef BR, LLVMSectionIteratorRef SI) -
LLVMObjectFileCopySymbolIterator
public static long LLVMObjectFileCopySymbolIterator(long BR) LLVMSymbolIteratorRef LLVMObjectFileCopySymbolIterator(LLVMBinaryRef BR) -
LLVMObjectFileIsSymbolIteratorAtEnd
public static boolean LLVMObjectFileIsSymbolIteratorAtEnd(long BR, long SI) LLVMBool LLVMObjectFileIsSymbolIteratorAtEnd(LLVMBinaryRef BR, LLVMSymbolIteratorRef SI) -
LLVMDisposeSectionIterator
public static void LLVMDisposeSectionIterator(long SI) void LLVMDisposeSectionIterator(LLVMSectionIteratorRef SI) -
LLVMMoveToNextSection
public static void LLVMMoveToNextSection(long SI) void LLVMMoveToNextSection(LLVMSectionIteratorRef SI) -
LLVMMoveToContainingSection
public static void LLVMMoveToContainingSection(long Sect, long Sym) void LLVMMoveToContainingSection(LLVMSectionIteratorRef Sect, LLVMSymbolIteratorRef Sym) -
LLVMDisposeSymbolIterator
public static void LLVMDisposeSymbolIterator(long SI) void LLVMDisposeSymbolIterator(LLVMSymbolIteratorRef SI) -
LLVMMoveToNextSymbol
public static void LLVMMoveToNextSymbol(long SI) void LLVMMoveToNextSymbol(LLVMSymbolIteratorRef SI) -
nLLVMGetSectionName
public static long nLLVMGetSectionName(long SI) char const * LLVMGetSectionName(LLVMSectionIteratorRef SI) -
LLVMGetSectionName
char const * LLVMGetSectionName(LLVMSectionIteratorRef SI) -
LLVMGetSectionSize
public static long LLVMGetSectionSize(long SI) uint64_t LLVMGetSectionSize(LLVMSectionIteratorRef SI) -
nLLVMGetSectionContents
public static long nLLVMGetSectionContents(long SI) char const * LLVMGetSectionContents(LLVMSectionIteratorRef SI) -
LLVMGetSectionContents
char const * LLVMGetSectionContents(LLVMSectionIteratorRef SI) -
LLVMGetSectionAddress
public static long LLVMGetSectionAddress(long SI) uint64_t LLVMGetSectionAddress(LLVMSectionIteratorRef SI) -
LLVMGetSectionContainsSymbol
public static boolean LLVMGetSectionContainsSymbol(long SI, long Sym) LLVMBool LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI, LLVMSymbolIteratorRef Sym) -
LLVMGetRelocations
public static long LLVMGetRelocations(long Section) LLVMRelocationIteratorRef LLVMGetRelocations(LLVMSectionIteratorRef Section) -
LLVMDisposeRelocationIterator
public static void LLVMDisposeRelocationIterator(long RI) void LLVMDisposeRelocationIterator(LLVMRelocationIteratorRef RI) -
LLVMIsRelocationIteratorAtEnd
public static boolean LLVMIsRelocationIteratorAtEnd(long Section, long RI) LLVMBool LLVMIsRelocationIteratorAtEnd(LLVMSectionIteratorRef Section, LLVMRelocationIteratorRef RI) -
LLVMMoveToNextRelocation
public static void LLVMMoveToNextRelocation(long RI) void LLVMMoveToNextRelocation(LLVMRelocationIteratorRef RI) -
nLLVMGetSymbolName
public static long nLLVMGetSymbolName(long SI) char const * LLVMGetSymbolName(LLVMSymbolIteratorRef SI) -
LLVMGetSymbolName
char const * LLVMGetSymbolName(LLVMSymbolIteratorRef SI) -
LLVMGetSymbolAddress
public static long LLVMGetSymbolAddress(long SI) uint64_t LLVMGetSymbolAddress(LLVMSymbolIteratorRef SI) -
LLVMGetSymbolSize
public static long LLVMGetSymbolSize(long SI) uint64_t LLVMGetSymbolSize(LLVMSymbolIteratorRef SI) -
LLVMGetRelocationOffset
public static long LLVMGetRelocationOffset(long RI) uint64_t LLVMGetRelocationOffset(LLVMRelocationIteratorRef RI) -
LLVMGetRelocationSymbol
public static long LLVMGetRelocationSymbol(long RI) LLVMSymbolIteratorRef LLVMGetRelocationSymbol(LLVMRelocationIteratorRef RI) -
LLVMGetRelocationType
public static long LLVMGetRelocationType(long RI) uint64_t LLVMGetRelocationType(LLVMRelocationIteratorRef RI) -
nLLVMGetRelocationTypeName
public static long nLLVMGetRelocationTypeName(long RI) char const * LLVMGetRelocationTypeName(LLVMRelocationIteratorRef RI) -
LLVMGetRelocationTypeName
char const * LLVMGetRelocationTypeName(LLVMRelocationIteratorRef RI) -
nLLVMGetRelocationValueString
public static long nLLVMGetRelocationValueString(long RI) char const * LLVMGetRelocationValueString(LLVMRelocationIteratorRef RI) -
LLVMGetRelocationValueString
char const * LLVMGetRelocationValueString(LLVMRelocationIteratorRef RI) -
LLVMCreateObjectFile
public static long LLVMCreateObjectFile(long MemBuf) LLVMObjectFileRef LLVMCreateObjectFile(LLVMMemoryBufferRef MemBuf) -
LLVMDisposeObjectFile
public static void LLVMDisposeObjectFile(long ObjectFile) void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile) -
LLVMGetSections
public static long LLVMGetSections(long ObjectFile) LLVMSectionIteratorRef LLVMGetSections(LLVMObjectFileRef ObjectFile) -
LLVMIsSectionIteratorAtEnd
public static boolean LLVMIsSectionIteratorAtEnd(long ObjectFile, long SI) LLVMBool LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef ObjectFile, LLVMSectionIteratorRef SI) -
LLVMGetSymbols
public static long LLVMGetSymbols(long ObjectFile) LLVMSymbolIteratorRef LLVMGetSymbols(LLVMObjectFileRef ObjectFile) -
LLVMIsSymbolIteratorAtEnd
public static boolean LLVMIsSymbolIteratorAtEnd(long ObjectFile, long SI) LLVMBool LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef ObjectFile, LLVMSymbolIteratorRef SI)
-