search for: lto_symbol_attributes

Displaying 4 results from an estimated 4 matches for "lto_symbol_attributes".

2008 Feb 23
5
[LLVMdev] new LTO C interface
...INITION_WEAK = 0x00000300, LTO_SYMBOL_DEFINITION_UNDEFINED = 0x00000400, LTO_SYMBOL_SCOPE_MASK = 0x00001800, LTO_SYMBOL_SCOPE_INTERNAL = 0x00000800, LTO_SYMBOL_SCOPE_HIDDEN = 0x00001000, LTO_SYMBOL_SCOPE_DEFAULT = 0x00001800 } lto_symbol_attributes; typedef enum { LTO_DEBUG_MODEL_NONE = 0, LTO_DEBUG_MODEL_DWARF = 1 } lto_debug_model; typedef enum { LTO_CODEGEN_PIC_MODEL_STATIC = 0, LTO_CODEGEN_PIC_MODEL_DYNAMIC = 1, LTO_CODEGEN_PIC_MODEL_DYNAMIC_NO_PIC = 2 } lto_codegen_model; // opaq...
2008 Feb 25
0
[LLVMdev] new LTO C interface
...tern const char* > lto_module_get_target_triplet(lto_module_t mod); LLVM nomenclature is triple, not triplet. > extern uint32_t > lto_module_get_num_symbols(lto_module_t mod); > > extern const char* > lto_module_get_symbol_name(lto_module_t mod, uint32_t index); > > extern lto_symbol_attributes > lto_module_get_symbol_attribute(lto_module_t mod, uint32_t index); Why uint32_t instead of size_t? > // > // frees all memory for a code generator > // upon return the lto_code_gen_t is no longer valid > // > extern void > lto_codegen_release(lto_code_gen_t); Existing bin...
2008 Feb 25
0
[LLVMdev] new LTO C interface
...0000300, > LTO_SYMBOL_DEFINITION_UNDEFINED = 0x00000400, > LTO_SYMBOL_SCOPE_MASK = 0x00001800, > LTO_SYMBOL_SCOPE_INTERNAL = 0x00000800, > LTO_SYMBOL_SCOPE_HIDDEN = 0x00001000, > LTO_SYMBOL_SCOPE_DEFAULT = 0x00001800 > } lto_symbol_attributes; > > typedef enum { > LTO_DEBUG_MODEL_NONE = 0, > LTO_DEBUG_MODEL_DWARF = 1 > } lto_debug_model; > > typedef enum { > LTO_CODEGEN_PIC_MODEL_STATIC = 0, > LTO_CODEGEN_PIC_MODEL_DYNAMIC = 1, > LTO_CODEGEN_PIC_MODEL_DYNAMI...
2008 Feb 26
2
[LLVMdev] new LTO C interface
...t(lto_module_t mod); > > LLVM nomenclature is triple, not triplet. Fixed. > >> extern uint32_t >> lto_module_get_num_symbols(lto_module_t mod); >> >> extern const char* >> lto_module_get_symbol_name(lto_module_t mod, uint32_t index); >> >> extern lto_symbol_attributes >> lto_module_get_symbol_attribute(lto_module_t mod, uint32_t index); > > Why uint32_t instead of size_t? I changed it to unsigned int. It is not pointer size dependent. > >> // >> // frees all memory for a code generator >> // upon return the lto_code_gen_t is no...