Class LLVMLTO

java.lang.Object
org.lwjgl.llvm.LLVMLTO

public class LLVMLTO extends Object
  • Field Details

    • LTOAPI_VERSION

      public static final int LTOAPI_VERSION
      See Also:
    • LTOSYMBOL_ALIGNMENT_MASK

      public static final int LTOSYMBOL_ALIGNMENT_MASK
      See Also:
    • LTOSYMBOL_PERMISSIONS_MASK

      public static final int LTOSYMBOL_PERMISSIONS_MASK
      See Also:
    • LTOSYMBOL_PERMISSIONS_CODE

      public static final int LTOSYMBOL_PERMISSIONS_CODE
      See Also:
    • LTOSYMBOL_PERMISSIONS_DATA

      public static final int LTOSYMBOL_PERMISSIONS_DATA
      See Also:
    • LTOSYMBOL_PERMISSIONS_RODATA

      public static final int LTOSYMBOL_PERMISSIONS_RODATA
      See Also:
    • LTOSYMBOL_DEFINITION_MASK

      public static final int LTOSYMBOL_DEFINITION_MASK
      See Also:
    • LTOSYMBOL_DEFINITION_REGULAR

      public static final int LTOSYMBOL_DEFINITION_REGULAR
      See Also:
    • LTOSYMBOL_DEFINITION_TENTATIVE

      public static final int LTOSYMBOL_DEFINITION_TENTATIVE
      See Also:
    • LTOSYMBOL_DEFINITION_WEAK

      public static final int LTOSYMBOL_DEFINITION_WEAK
      See Also:
    • LTOSYMBOL_DEFINITION_UNDEFINED

      public static final int LTOSYMBOL_DEFINITION_UNDEFINED
      See Also:
    • LTOSYMBOL_DEFINITION_WEAKUNDEF

      public static final int LTOSYMBOL_DEFINITION_WEAKUNDEF
      See Also:
    • LTOSYMBOL_SCOPE_MASK

      public static final int LTOSYMBOL_SCOPE_MASK
      See Also:
    • LTOSYMBOL_SCOPE_INTERNAL

      public static final int LTOSYMBOL_SCOPE_INTERNAL
      See Also:
    • LTOSYMBOL_SCOPE_HIDDEN

      public static final int LTOSYMBOL_SCOPE_HIDDEN
      See Also:
    • LTOSYMBOL_SCOPE_PROTECTED

      public static final int LTOSYMBOL_SCOPE_PROTECTED
      See Also:
    • LTOSYMBOL_SCOPE_DEFAULT

      public static final int LTOSYMBOL_SCOPE_DEFAULT
      See Also:
    • LTOSYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN

      public static final int LTOSYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN
      See Also:
    • LTOSYMBOL_COMDAT

      public static final int LTOSYMBOL_COMDAT
      See Also:
    • LTOSYMBOL_ALIAS

      public static final int LTOSYMBOL_ALIAS
      See Also:
    • LTODEBUG_MODEL_NONE

      public static final int LTODEBUG_MODEL_NONE
      See Also:
    • LTODEBUG_MODEL_DWARF

      public static final int LTODEBUG_MODEL_DWARF
      See Also:
    • LTOCODEGEN_PIC_MODEL_STATIC

      public static final int LTOCODEGEN_PIC_MODEL_STATIC
      See Also:
    • LTOCODEGEN_PIC_MODEL_DYNAMIC

      public static final int LTOCODEGEN_PIC_MODEL_DYNAMIC
      See Also:
    • LTOCODEGEN_PIC_MODEL_DYNAMIC_NO_PIC

      public static final int LTOCODEGEN_PIC_MODEL_DYNAMIC_NO_PIC
      See Also:
    • LTOCODEGEN_PIC_MODEL_DEFAULT

      public static final int LTOCODEGEN_PIC_MODEL_DEFAULT
      See Also:
    • LTODS_ERROR

      public static final int LTODS_ERROR
      See Also:
    • LTODS_WARNING

      public static final int LTODS_WARNING
      See Also:
    • LTODS_REMARK

      public static final int LTODS_REMARK
      See Also:
    • LTODS_NOTE

      public static final int LTODS_NOTE
      See Also:
  • Method Details

    • getLibrary

      public static SharedLibrary getLibrary()
      Returns the LTO SharedLibrary.
    • nlto_get_version

      public static long nlto_get_version()
      char const * lto_get_version(void)
    • lto_get_version

      public static String lto_get_version()
      char const * lto_get_version(void)
    • nlto_get_error_message

      public static long nlto_get_error_message()
      char const * lto_get_error_message(void)
    • lto_get_error_message

      public static @Nullable String lto_get_error_message()
      char const * lto_get_error_message(void)
    • nlto_module_is_object_file

      public static boolean nlto_module_is_object_file(long path)
      lto_bool_t lto_module_is_object_file(char const * path)
    • lto_module_is_object_file

      public static boolean lto_module_is_object_file(ByteBuffer path)
      lto_bool_t lto_module_is_object_file(char const * path)
    • lto_module_is_object_file

      public static boolean lto_module_is_object_file(CharSequence path)
      lto_bool_t lto_module_is_object_file(char const * path)
    • nlto_module_is_object_file_for_target

      public static boolean nlto_module_is_object_file_for_target(long path, long target_triple_prefix)
      lto_bool_t lto_module_is_object_file_for_target(char const * path, char const * target_triple_prefix)
    • lto_module_is_object_file_for_target

      public static boolean lto_module_is_object_file_for_target(ByteBuffer path, ByteBuffer target_triple_prefix)
      lto_bool_t lto_module_is_object_file_for_target(char const * path, char const * target_triple_prefix)
    • lto_module_is_object_file_for_target

      public static boolean lto_module_is_object_file_for_target(CharSequence path, CharSequence target_triple_prefix)
      lto_bool_t lto_module_is_object_file_for_target(char const * path, char const * target_triple_prefix)
    • nlto_module_has_objc_category

      public static boolean nlto_module_has_objc_category(long mem, long length)
      lto_bool_t lto_module_has_objc_category(void const * mem, size_t length)
    • lto_module_has_objc_category

      public static boolean lto_module_has_objc_category(ByteBuffer mem)
      lto_bool_t lto_module_has_objc_category(void const * mem, size_t length)
    • nlto_module_is_object_file_in_memory

      public static boolean nlto_module_is_object_file_in_memory(long mem, long length)
      lto_bool_t lto_module_is_object_file_in_memory(void const * mem, size_t length)
    • lto_module_is_object_file_in_memory

      public static boolean lto_module_is_object_file_in_memory(ByteBuffer mem)
      lto_bool_t lto_module_is_object_file_in_memory(void const * mem, size_t length)
    • nlto_module_is_object_file_in_memory_for_target

      public static boolean nlto_module_is_object_file_in_memory_for_target(long mem, long length, long target_triple_prefix)
      lto_bool_t lto_module_is_object_file_in_memory_for_target(void const * mem, size_t length, char const * target_triple_prefix)
    • lto_module_is_object_file_in_memory_for_target

      public static boolean lto_module_is_object_file_in_memory_for_target(ByteBuffer mem, ByteBuffer target_triple_prefix)
      lto_bool_t lto_module_is_object_file_in_memory_for_target(void const * mem, size_t length, char const * target_triple_prefix)
    • lto_module_is_object_file_in_memory_for_target

      public static boolean lto_module_is_object_file_in_memory_for_target(ByteBuffer mem, CharSequence target_triple_prefix)
      lto_bool_t lto_module_is_object_file_in_memory_for_target(void const * mem, size_t length, char const * target_triple_prefix)
    • nlto_module_create

      public static long nlto_module_create(long path)
      lto_module_t lto_module_create(char const * path)
    • lto_module_create

      public static long lto_module_create(ByteBuffer path)
      lto_module_t lto_module_create(char const * path)
    • lto_module_create

      public static long lto_module_create(CharSequence path)
      lto_module_t lto_module_create(char const * path)
    • nlto_module_create_from_memory

      public static long nlto_module_create_from_memory(long mem, long length)
      lto_module_t lto_module_create_from_memory(void const * mem, size_t length)
    • lto_module_create_from_memory

      public static long lto_module_create_from_memory(ByteBuffer mem)
      lto_module_t lto_module_create_from_memory(void const * mem, size_t length)
    • nlto_module_create_from_memory_with_path

      public static long nlto_module_create_from_memory_with_path(long mem, long length, long path)
      lto_module_t lto_module_create_from_memory_with_path(void const * mem, size_t length, char const * path)
    • lto_module_create_from_memory_with_path

      public static long lto_module_create_from_memory_with_path(ByteBuffer mem, ByteBuffer path)
      lto_module_t lto_module_create_from_memory_with_path(void const * mem, size_t length, char const * path)
    • lto_module_create_from_memory_with_path

      public static long lto_module_create_from_memory_with_path(ByteBuffer mem, CharSequence path)
      lto_module_t lto_module_create_from_memory_with_path(void const * mem, size_t length, char const * path)
    • nlto_module_create_in_local_context

      public static long nlto_module_create_in_local_context(long mem, long length, long path)
      lto_module_t lto_module_create_in_local_context(void const * mem, size_t length, char const * path)
    • lto_module_create_in_local_context

      public static long lto_module_create_in_local_context(ByteBuffer mem, ByteBuffer path)
      lto_module_t lto_module_create_in_local_context(void const * mem, size_t length, char const * path)
    • lto_module_create_in_local_context

      public static long lto_module_create_in_local_context(ByteBuffer mem, CharSequence path)
      lto_module_t lto_module_create_in_local_context(void const * mem, size_t length, char const * path)
    • nlto_module_create_in_codegen_context

      public static long nlto_module_create_in_codegen_context(long mem, long length, long path, long cg)
      lto_module_t lto_module_create_in_codegen_context(void const * mem, size_t length, char const * path, lto_code_gen_t cg)
    • lto_module_create_in_codegen_context

      public static long lto_module_create_in_codegen_context(ByteBuffer mem, ByteBuffer path, long cg)
      lto_module_t lto_module_create_in_codegen_context(void const * mem, size_t length, char const * path, lto_code_gen_t cg)
    • lto_module_create_in_codegen_context

      public static long lto_module_create_in_codegen_context(ByteBuffer mem, CharSequence path, long cg)
      lto_module_t lto_module_create_in_codegen_context(void const * mem, size_t length, char const * path, lto_code_gen_t cg)
    • nlto_module_create_from_fd

      public static long nlto_module_create_from_fd(int fd, long path, long file_size)
      lto_module_t lto_module_create_from_fd(int fd, char const * path, size_t file_size)
    • lto_module_create_from_fd

      public static long lto_module_create_from_fd(int fd, ByteBuffer path, long file_size)
      lto_module_t lto_module_create_from_fd(int fd, char const * path, size_t file_size)
    • lto_module_create_from_fd

      public static long lto_module_create_from_fd(int fd, CharSequence path, long file_size)
      lto_module_t lto_module_create_from_fd(int fd, char const * path, size_t file_size)
    • nlto_module_create_from_fd_at_offset

      public static long nlto_module_create_from_fd_at_offset(int fd, long path, long file_size, long map_size, long offset)
      lto_module_t lto_module_create_from_fd_at_offset(int fd, char const * path, size_t file_size, size_t map_size, off_t offset)
    • lto_module_create_from_fd_at_offset

      public static long lto_module_create_from_fd_at_offset(int fd, ByteBuffer path, long file_size, long map_size, long offset)
      lto_module_t lto_module_create_from_fd_at_offset(int fd, char const * path, size_t file_size, size_t map_size, off_t offset)
    • lto_module_create_from_fd_at_offset

      public static long lto_module_create_from_fd_at_offset(int fd, CharSequence path, long file_size, long map_size, long offset)
      lto_module_t lto_module_create_from_fd_at_offset(int fd, char const * path, size_t file_size, size_t map_size, off_t offset)
    • lto_module_dispose

      public static void lto_module_dispose(long mod)
      void lto_module_dispose(lto_module_t mod)
    • nlto_module_get_target_triple

      public static long nlto_module_get_target_triple(long mod)
      char const * lto_module_get_target_triple(lto_module_t mod)
    • lto_module_get_target_triple

      public static @Nullable String lto_module_get_target_triple(long mod)
      char const * lto_module_get_target_triple(lto_module_t mod)
    • nlto_module_set_target_triple

      public static void nlto_module_set_target_triple(long mod, long triple)
      void lto_module_set_target_triple(lto_module_t mod, char const * triple)
    • lto_module_set_target_triple

      public static void lto_module_set_target_triple(long mod, ByteBuffer triple)
      void lto_module_set_target_triple(lto_module_t mod, char const * triple)
    • lto_module_set_target_triple

      public static void lto_module_set_target_triple(long mod, CharSequence triple)
      void lto_module_set_target_triple(lto_module_t mod, char const * triple)
    • lto_module_get_num_symbols

      public static int lto_module_get_num_symbols(long mod)
      unsigned int lto_module_get_num_symbols(lto_module_t mod)
    • nlto_module_get_symbol_name

      public static long nlto_module_get_symbol_name(long mod, int index)
      char const * lto_module_get_symbol_name(lto_module_t mod, unsigned int index)
    • lto_module_get_symbol_name

      public static @Nullable String lto_module_get_symbol_name(long mod, int index)
      char const * lto_module_get_symbol_name(lto_module_t mod, unsigned int index)
    • lto_module_get_symbol_attribute

      public static int lto_module_get_symbol_attribute(long mod, int index)
      lto_symbol_attributes lto_module_get_symbol_attribute(lto_module_t mod, unsigned int index)
    • nlto_module_get_linkeropts

      public static long nlto_module_get_linkeropts(long mod)
      char const * lto_module_get_linkeropts(lto_module_t mod)
    • lto_module_get_linkeropts

      public static @Nullable String lto_module_get_linkeropts(long mod)
      char const * lto_module_get_linkeropts(lto_module_t mod)
    • nlto_module_get_macho_cputype

      public static boolean nlto_module_get_macho_cputype(long mod, long out_cputype, long out_cpusubtype)
      lto_bool_t lto_module_get_macho_cputype(lto_module_t mod, unsigned int * out_cputype, unsigned int * out_cpusubtype)
    • lto_module_get_macho_cputype

      public static boolean lto_module_get_macho_cputype(long mod, IntBuffer out_cputype, IntBuffer out_cpusubtype)
      lto_bool_t lto_module_get_macho_cputype(lto_module_t mod, unsigned int * out_cputype, unsigned int * out_cpusubtype)
    • lto_module_has_ctor_dtor

      public static boolean lto_module_has_ctor_dtor(long mod)
      lto_bool_t lto_module_has_ctor_dtor(lto_module_t mod)
    • nlto_codegen_set_diagnostic_handler

      public static void nlto_codegen_set_diagnostic_handler(long cg, long handler, long ctxt)
      void lto_codegen_set_diagnostic_handler(lto_code_gen_t cg, void (*) (lto_codegen_diagnostic_severity_t, char const *, void *) handler, void * ctxt)
    • lto_codegen_set_diagnostic_handler

      public static void lto_codegen_set_diagnostic_handler(long cg, LTODiagnosticHandlerI handler, long ctxt)
      void lto_codegen_set_diagnostic_handler(lto_code_gen_t cg, void (*) (lto_codegen_diagnostic_severity_t, char const *, void *) handler, void * ctxt)
    • lto_codegen_create

      public static long lto_codegen_create()
      lto_code_gen_t lto_codegen_create(void)
    • lto_codegen_create_in_local_context

      public static long lto_codegen_create_in_local_context()
      lto_code_gen_t lto_codegen_create_in_local_context(void)
    • lto_codegen_dispose

      public static void lto_codegen_dispose(long cg)
      void lto_codegen_dispose(lto_code_gen_t cg)
    • lto_codegen_add_module

      public static boolean lto_codegen_add_module(long cg, long mod)
      lto_bool_t lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod)
    • lto_codegen_set_module

      public static void lto_codegen_set_module(long cg, long mod)
      void lto_codegen_set_module(lto_code_gen_t cg, lto_module_t mod)
    • lto_codegen_set_debug_model

      public static boolean lto_codegen_set_debug_model(long cg, int model)
      lto_bool_t lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model model)
    • lto_codegen_set_pic_model

      public static boolean lto_codegen_set_pic_model(long cg, int model)
      lto_bool_t lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model model)
    • nlto_codegen_set_cpu

      public static void nlto_codegen_set_cpu(long cg, long cpu)
      void lto_codegen_set_cpu(lto_code_gen_t cg, char const * cpu)
    • lto_codegen_set_cpu

      public static void lto_codegen_set_cpu(long cg, ByteBuffer cpu)
      void lto_codegen_set_cpu(lto_code_gen_t cg, char const * cpu)
    • lto_codegen_set_cpu

      public static void lto_codegen_set_cpu(long cg, CharSequence cpu)
      void lto_codegen_set_cpu(lto_code_gen_t cg, char const * cpu)
    • nlto_codegen_set_assembler_path

      public static void nlto_codegen_set_assembler_path(long cg, long path)
      void lto_codegen_set_assembler_path(lto_code_gen_t cg, char const * path)
    • lto_codegen_set_assembler_path

      public static void lto_codegen_set_assembler_path(long cg, ByteBuffer path)
      void lto_codegen_set_assembler_path(lto_code_gen_t cg, char const * path)
    • lto_codegen_set_assembler_path

      public static void lto_codegen_set_assembler_path(long cg, CharSequence path)
      void lto_codegen_set_assembler_path(lto_code_gen_t cg, char const * path)
    • nlto_codegen_set_assembler_args

      public static void nlto_codegen_set_assembler_args(long cg, long args, int nargs)
      void lto_codegen_set_assembler_args(lto_code_gen_t cg, char const ** args, int nargs)
    • lto_codegen_set_assembler_args

      public static void lto_codegen_set_assembler_args(long cg, PointerBuffer args)
      void lto_codegen_set_assembler_args(lto_code_gen_t cg, char const ** args, int nargs)
    • nlto_codegen_add_must_preserve_symbol

      public static void nlto_codegen_add_must_preserve_symbol(long cg, long symbol)
      void lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, char const * symbol)
    • lto_codegen_add_must_preserve_symbol

      public static void lto_codegen_add_must_preserve_symbol(long cg, ByteBuffer symbol)
      void lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, char const * symbol)
    • lto_codegen_add_must_preserve_symbol

      public static void lto_codegen_add_must_preserve_symbol(long cg, CharSequence symbol)
      void lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, char const * symbol)
    • nlto_codegen_write_merged_modules

      public static boolean nlto_codegen_write_merged_modules(long cg, long path)
      lto_bool_t lto_codegen_write_merged_modules(lto_code_gen_t cg, char const * path)
    • lto_codegen_write_merged_modules

      public static boolean lto_codegen_write_merged_modules(long cg, ByteBuffer path)
      lto_bool_t lto_codegen_write_merged_modules(lto_code_gen_t cg, char const * path)
    • lto_codegen_write_merged_modules

      public static boolean lto_codegen_write_merged_modules(long cg, CharSequence path)
      lto_bool_t lto_codegen_write_merged_modules(lto_code_gen_t cg, char const * path)
    • nlto_codegen_compile

      public static long nlto_codegen_compile(long cg, long length)
      void const * lto_codegen_compile(lto_code_gen_t cg, size_t * length)
    • lto_codegen_compile

      public static @Nullable ByteBuffer lto_codegen_compile(long cg)
      void const * lto_codegen_compile(lto_code_gen_t cg, size_t * length)
    • nlto_codegen_compile_to_file

      public static boolean nlto_codegen_compile_to_file(long cg, long name)
      lto_bool_t lto_codegen_compile_to_file(lto_code_gen_t cg, char const ** name)
    • lto_codegen_compile_to_file

      public static boolean lto_codegen_compile_to_file(long cg, PointerBuffer name)
      lto_bool_t lto_codegen_compile_to_file(lto_code_gen_t cg, char const ** name)
    • lto_codegen_optimize

      public static boolean lto_codegen_optimize(long cg)
      lto_bool_t lto_codegen_optimize(lto_code_gen_t cg)
    • nlto_codegen_compile_optimized

      public static long nlto_codegen_compile_optimized(long cg, long length)
      void const * lto_codegen_compile_optimized(lto_code_gen_t cg, size_t * length)
    • lto_codegen_compile_optimized

      public static @Nullable ByteBuffer lto_codegen_compile_optimized(long cg)
      void const * lto_codegen_compile_optimized(lto_code_gen_t cg, size_t * length)
    • lto_api_version

      public static int lto_api_version()
      unsigned int lto_api_version(void)
    • nlto_set_debug_options

      public static void nlto_set_debug_options(long options, int number)
      void lto_set_debug_options(char const * const * options, int number)
    • lto_set_debug_options

      public static void lto_set_debug_options(PointerBuffer options)
      void lto_set_debug_options(char const * const * options, int number)
    • nlto_codegen_debug_options

      public static void nlto_codegen_debug_options(long cg, long options)
      void lto_codegen_debug_options(lto_code_gen_t cg, char const * options)
    • lto_codegen_debug_options

      public static void lto_codegen_debug_options(long cg, ByteBuffer options)
      void lto_codegen_debug_options(lto_code_gen_t cg, char const * options)
    • lto_codegen_debug_options

      public static void lto_codegen_debug_options(long cg, CharSequence options)
      void lto_codegen_debug_options(lto_code_gen_t cg, char const * options)
    • nlto_codegen_debug_options_array

      public static void nlto_codegen_debug_options_array(long cg, long options, int number)
      void lto_codegen_debug_options_array(lto_code_gen_t cg, char const * const * options, int number)
    • lto_codegen_debug_options_array

      public static void lto_codegen_debug_options_array(long cg, PointerBuffer options)
      void lto_codegen_debug_options_array(lto_code_gen_t cg, char const * const * options, int number)
    • lto_initialize_disassembler

      public static void lto_initialize_disassembler()
      void lto_initialize_disassembler(void)
    • lto_codegen_set_should_internalize

      public static void lto_codegen_set_should_internalize(long cg, boolean ShouldInternalize)
      void lto_codegen_set_should_internalize(lto_code_gen_t cg, lto_bool_t ShouldInternalize)
    • lto_codegen_set_should_embed_uselists

      public static void lto_codegen_set_should_embed_uselists(long cg, boolean ShouldEmbedUselists)
      void lto_codegen_set_should_embed_uselists(lto_code_gen_t cg, lto_bool_t ShouldEmbedUselists)
    • nlto_input_create

      public static long nlto_input_create(long buffer, long buffer_size, long path)
      lto_input_t lto_input_create(void const * buffer, size_t buffer_size, char const * path)
    • lto_input_create

      public static long lto_input_create(ByteBuffer buffer, ByteBuffer path)
      lto_input_t lto_input_create(void const * buffer, size_t buffer_size, char const * path)
    • lto_input_create

      public static long lto_input_create(ByteBuffer buffer, CharSequence path)
      lto_input_t lto_input_create(void const * buffer, size_t buffer_size, char const * path)
    • lto_input_dispose

      public static void lto_input_dispose(long input)
      void lto_input_dispose(lto_input_t input)
    • lto_input_get_num_dependent_libraries

      public static int lto_input_get_num_dependent_libraries(long input)
      unsigned lto_input_get_num_dependent_libraries(lto_input_t input)
    • nlto_input_get_dependent_library

      public static long nlto_input_get_dependent_library(long input, long index, long size)
      char const * lto_input_get_dependent_library(lto_input_t input, size_t index, size_t * size)
    • lto_input_get_dependent_library

      public static @Nullable String lto_input_get_dependent_library(long input, long index)
      char const * lto_input_get_dependent_library(lto_input_t input, size_t index, size_t * size)
    • nlto_runtime_lib_symbols_list

      public static long nlto_runtime_lib_symbols_list(long size)
      char const * const * lto_runtime_lib_symbols_list(size_t * size)
    • lto_runtime_lib_symbols_list

      public static @Nullable PointerBuffer lto_runtime_lib_symbols_list()
      char const * const * lto_runtime_lib_symbols_list(size_t * size)
    • thinlto_create_codegen

      public static long thinlto_create_codegen()
      thinlto_code_gen_t thinlto_create_codegen(void)
    • thinlto_codegen_dispose

      public static void thinlto_codegen_dispose(long cg)
      void thinlto_codegen_dispose(thinlto_code_gen_t cg)
    • nthinlto_codegen_add_module

      public static void nthinlto_codegen_add_module(long cg, long identifier, long data, int length)
      void thinlto_codegen_add_module(thinlto_code_gen_t cg, char const * identifier, char const * data, int length)
    • thinlto_codegen_add_module

      public static void thinlto_codegen_add_module(long cg, ByteBuffer identifier, ByteBuffer data)
      void thinlto_codegen_add_module(thinlto_code_gen_t cg, char const * identifier, char const * data, int length)
    • thinlto_codegen_add_module

      public static void thinlto_codegen_add_module(long cg, CharSequence identifier, ByteBuffer data)
      void thinlto_codegen_add_module(thinlto_code_gen_t cg, char const * identifier, char const * data, int length)
    • thinlto_codegen_process

      public static void thinlto_codegen_process(long cg)
      void thinlto_codegen_process(thinlto_code_gen_t cg)
    • thinlto_module_get_num_objects

      public static int thinlto_module_get_num_objects(long cg)
      unsigned int thinlto_module_get_num_objects(thinlto_code_gen_t cg)
    • nthinlto_module_get_object

      public static void nthinlto_module_get_object(long cg, int index, long __functionAddress, long __result)
      LTOObjectBuffer thinlto_module_get_object(thinlto_code_gen_t cg, unsigned int index)
    • nthinlto_module_get_object

      public static void nthinlto_module_get_object(long cg, int index, long __result)
      LTOObjectBuffer thinlto_module_get_object(thinlto_code_gen_t cg, unsigned int index)
    • thinlto_module_get_object

      public static LTOObjectBuffer thinlto_module_get_object(long cg, int index, LTOObjectBuffer __result)
      LTOObjectBuffer thinlto_module_get_object(thinlto_code_gen_t cg, unsigned int index)
    • thinlto_module_get_num_object_files

      public static int thinlto_module_get_num_object_files(long cg)
      unsigned int thinlto_module_get_num_object_files(thinlto_code_gen_t cg)
    • nthinlto_module_get_object_file

      public static long nthinlto_module_get_object_file(long cg, int index)
      char const * thinlto_module_get_object_file(thinlto_code_gen_t cg, unsigned int index)
    • thinlto_module_get_object_file

      public static @Nullable String thinlto_module_get_object_file(long cg, int index)
      char const * thinlto_module_get_object_file(thinlto_code_gen_t cg, unsigned int index)
    • thinlto_codegen_set_pic_model

      public static boolean thinlto_codegen_set_pic_model(long cg, int model)
      lto_bool_t thinlto_codegen_set_pic_model(thinlto_code_gen_t cg, lto_codegen_model model)
    • nthinlto_codegen_set_savetemps_dir

      public static void nthinlto_codegen_set_savetemps_dir(long cg, long save_temps_dir)
      void thinlto_codegen_set_savetemps_dir(thinlto_code_gen_t cg, char const * save_temps_dir)
    • thinlto_codegen_set_savetemps_dir

      public static void thinlto_codegen_set_savetemps_dir(long cg, ByteBuffer save_temps_dir)
      void thinlto_codegen_set_savetemps_dir(thinlto_code_gen_t cg, char const * save_temps_dir)
    • thinlto_codegen_set_savetemps_dir

      public static void thinlto_codegen_set_savetemps_dir(long cg, CharSequence save_temps_dir)
      void thinlto_codegen_set_savetemps_dir(thinlto_code_gen_t cg, char const * save_temps_dir)
    • nthinlto_set_generated_objects_dir

      public static void nthinlto_set_generated_objects_dir(long cg, long save_temps_dir)
      void thinlto_set_generated_objects_dir(thinlto_code_gen_t cg, char const * save_temps_dir)
    • thinlto_set_generated_objects_dir

      public static void thinlto_set_generated_objects_dir(long cg, ByteBuffer save_temps_dir)
      void thinlto_set_generated_objects_dir(thinlto_code_gen_t cg, char const * save_temps_dir)
    • thinlto_set_generated_objects_dir

      public static void thinlto_set_generated_objects_dir(long cg, CharSequence save_temps_dir)
      void thinlto_set_generated_objects_dir(thinlto_code_gen_t cg, char const * save_temps_dir)
    • nthinlto_codegen_set_cpu

      public static void nthinlto_codegen_set_cpu(long cg, long cpu)
      void thinlto_codegen_set_cpu(thinlto_code_gen_t cg, char const * cpu)
    • thinlto_codegen_set_cpu

      public static void thinlto_codegen_set_cpu(long cg, ByteBuffer cpu)
      void thinlto_codegen_set_cpu(thinlto_code_gen_t cg, char const * cpu)
    • thinlto_codegen_set_cpu

      public static void thinlto_codegen_set_cpu(long cg, CharSequence cpu)
      void thinlto_codegen_set_cpu(thinlto_code_gen_t cg, char const * cpu)
    • thinlto_codegen_disable_codegen

      public static void thinlto_codegen_disable_codegen(long cg, boolean disable)
      void thinlto_codegen_disable_codegen(thinlto_code_gen_t cg, lto_bool_t disable)
    • thinlto_codegen_set_codegen_only

      public static void thinlto_codegen_set_codegen_only(long cg, boolean codegen_only)
      void thinlto_codegen_set_codegen_only(thinlto_code_gen_t cg, lto_bool_t codegen_only)
    • nthinlto_debug_options

      public static void nthinlto_debug_options(long options, int number)
      void thinlto_debug_options(char const * const * options, int number)
    • thinlto_debug_options

      public static void thinlto_debug_options(PointerBuffer options)
      void thinlto_debug_options(char const * const * options, int number)
    • lto_module_is_thinlto

      public static boolean lto_module_is_thinlto(long mod)
      lto_bool_t lto_module_is_thinlto(lto_module_t mod)
    • nthinlto_codegen_add_must_preserve_symbol

      public static void nthinlto_codegen_add_must_preserve_symbol(long cg, long name, int length)
      void thinlto_codegen_add_must_preserve_symbol(thinlto_code_gen_t cg, char const * name, int length)
    • thinlto_codegen_add_must_preserve_symbol

      public static void thinlto_codegen_add_must_preserve_symbol(long cg, ByteBuffer name)
      void thinlto_codegen_add_must_preserve_symbol(thinlto_code_gen_t cg, char const * name, int length)
    • thinlto_codegen_add_must_preserve_symbol

      public static void thinlto_codegen_add_must_preserve_symbol(long cg, CharSequence name)
      void thinlto_codegen_add_must_preserve_symbol(thinlto_code_gen_t cg, char const * name, int length)
    • nthinlto_codegen_add_cross_referenced_symbol

      public static void nthinlto_codegen_add_cross_referenced_symbol(long cg, long name, int length)
      void thinlto_codegen_add_cross_referenced_symbol(thinlto_code_gen_t cg, char const * name, int length)
    • thinlto_codegen_add_cross_referenced_symbol

      public static void thinlto_codegen_add_cross_referenced_symbol(long cg, ByteBuffer name)
      void thinlto_codegen_add_cross_referenced_symbol(thinlto_code_gen_t cg, char const * name, int length)
    • thinlto_codegen_add_cross_referenced_symbol

      public static void thinlto_codegen_add_cross_referenced_symbol(long cg, CharSequence name)
      void thinlto_codegen_add_cross_referenced_symbol(thinlto_code_gen_t cg, char const * name, int length)
    • nthinlto_codegen_set_cache_dir

      public static void nthinlto_codegen_set_cache_dir(long cg, long cache_dir)
      void thinlto_codegen_set_cache_dir(thinlto_code_gen_t cg, char const * cache_dir)
    • thinlto_codegen_set_cache_dir

      public static void thinlto_codegen_set_cache_dir(long cg, ByteBuffer cache_dir)
      void thinlto_codegen_set_cache_dir(thinlto_code_gen_t cg, char const * cache_dir)
    • thinlto_codegen_set_cache_dir

      public static void thinlto_codegen_set_cache_dir(long cg, CharSequence cache_dir)
      void thinlto_codegen_set_cache_dir(thinlto_code_gen_t cg, char const * cache_dir)
    • thinlto_codegen_set_cache_pruning_interval

      public static void thinlto_codegen_set_cache_pruning_interval(long cg, int interval)
      void thinlto_codegen_set_cache_pruning_interval(thinlto_code_gen_t cg, int interval)
    • thinlto_codegen_set_final_cache_size_relative_to_available_space

      public static void thinlto_codegen_set_final_cache_size_relative_to_available_space(long cg, int percentage)
      void thinlto_codegen_set_final_cache_size_relative_to_available_space(thinlto_code_gen_t cg, unsigned int percentage)
    • thinlto_codegen_set_cache_entry_expiration

      public static void thinlto_codegen_set_cache_entry_expiration(long cg, int expiration)
      void thinlto_codegen_set_cache_entry_expiration(thinlto_code_gen_t cg, unsigned int expiration)
    • thinlto_codegen_set_cache_size_bytes

      public static void thinlto_codegen_set_cache_size_bytes(long cg, int max_size_bytes)
      void thinlto_codegen_set_cache_size_bytes(thinlto_code_gen_t cg, unsigned int max_size_bytes)
    • thinlto_codegen_set_cache_size_megabytes

      public static void thinlto_codegen_set_cache_size_megabytes(long cg, int max_size_megabytes)
      void thinlto_codegen_set_cache_size_megabytes(thinlto_code_gen_t cg, unsigned int max_size_megabytes)
    • thinlto_codegen_set_cache_size_files

      public static void thinlto_codegen_set_cache_size_files(long cg, int max_size_files)
      void thinlto_codegen_set_cache_size_files(thinlto_code_gen_t cg, unsigned int max_size_files)