| Package | Description |
|---|---|
| org.bytedeco.llvm.global |
| Modifier and Type | Method and Description |
|---|---|
static lto_module_t |
LLVM.lto_module_create_from_fd_at_offset(int fd,
BytePointer path,
long file_size,
long map_size,
long offset)
Loads an object file from disk.
|
static lto_module_t |
LLVM.lto_module_create_from_fd_at_offset(int fd,
String path,
long file_size,
long map_size,
long offset) |
static lto_module_t |
LLVM.lto_module_create_from_fd(int fd,
BytePointer path,
long file_size)
Loads an object file from disk.
|
static lto_module_t |
LLVM.lto_module_create_from_fd(int fd,
String path,
long file_size) |
static lto_module_t |
LLVM.lto_module_create_from_memory_with_path(Pointer mem,
long length,
BytePointer path)
Loads an object file from memory with an extra path argument.
|
static lto_module_t |
LLVM.lto_module_create_from_memory_with_path(Pointer mem,
long length,
String path) |
static lto_module_t |
LLVM.lto_module_create_from_memory(Pointer mem,
long length)
Loads an object file from memory.
|
static lto_module_t |
LLVM.lto_module_create_in_codegen_context(Pointer mem,
long length,
BytePointer path,
lto_code_gen_t cg)
Loads an object file in the codegen context.
|
static lto_module_t |
LLVM.lto_module_create_in_codegen_context(Pointer mem,
long length,
String path,
lto_code_gen_t cg) |
static lto_module_t |
LLVM.lto_module_create_in_local_context(Pointer mem,
long length,
BytePointer path)
Loads an object file in its own context.
|
static lto_module_t |
LLVM.lto_module_create_in_local_context(Pointer mem,
long length,
String path) |
static lto_module_t |
LLVM.lto_module_create(BytePointer path)
Loads an object file from disk.
|
static lto_module_t |
LLVM.lto_module_create(String path) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
LLVM.lto_codegen_add_module(lto_code_gen_t cg,
lto_module_t mod)
Add an object module to the set of modules for which code will be generated.
|
static void |
LLVM.lto_codegen_set_module(lto_code_gen_t cg,
lto_module_t mod)
Sets the object module for code generation.
|
static void |
LLVM.lto_module_dispose(lto_module_t mod)
Frees all memory internally allocated by the module.
|
static BytePointer |
LLVM.lto_module_get_linkeropts(lto_module_t mod)
Returns the module's linker options.
|
static boolean |
LLVM.lto_module_get_macho_cputype(lto_module_t mod,
int[] out_cputype,
int[] out_cpusubtype) |
static boolean |
LLVM.lto_module_get_macho_cputype(lto_module_t mod,
IntBuffer out_cputype,
IntBuffer out_cpusubtype) |
static boolean |
LLVM.lto_module_get_macho_cputype(lto_module_t mod,
IntPointer out_cputype,
IntPointer out_cpusubtype)
If targeting mach-o on darwin, this function gets the CPU type and subtype
that will end up being encoded in the mach-o header.
|
static int |
LLVM.lto_module_get_num_symbols(lto_module_t mod)
Returns the number of symbols in the object module.
|
static int |
LLVM.lto_module_get_symbol_attribute(lto_module_t mod,
int index)
Returns the attributes of the ith symbol in the object module.
|
static BytePointer |
LLVM.lto_module_get_symbol_name(lto_module_t mod,
int index)
Returns the name of the ith symbol in the object module.
|
static BytePointer |
LLVM.lto_module_get_target_triple(lto_module_t mod)
Returns triple string which the object module was compiled under.
|
static boolean |
LLVM.lto_module_has_ctor_dtor(lto_module_t mod)
This function can be used by the linker to check if a given module has
any constructor or destructor functions.
|
static boolean |
LLVM.lto_module_is_thinlto(lto_module_t mod)
Test if a module has support for ThinLTO linking.
|
static void |
LLVM.lto_module_set_target_triple(lto_module_t mod,
BytePointer triple)
Sets triple string with which the object will be codegened.
|
static void |
LLVM.lto_module_set_target_triple(lto_module_t mod,
String triple) |
Copyright © 2024. All rights reserved.