search for: target_triplet_prefix

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

2008 Feb 23
5
[LLVMdev] new LTO C interface
...a loadable object file // extern bool lto_module_is_object_file(const char* path); // // validates if a file is a loadable object file compilable for requested target // extern bool lto_module_is_object_file_for_target(const char* path, const char* target_triplet_prefix); // // validates if a buffer is a loadable object file // extern bool lto_module_is_object_file_in_memory(const uint8_t* mem, size_t length); // // validates if a buffer is a loadable object file compilable for requested target // extern bool lto_module_is_object_file_in_memory_for_target(co...
2008 Feb 25
0
[LLVMdev] new LTO C interface
...ter still. > extern bool > lto_module_is_object_file_in_memory(const uint8_t* mem, size_t > length); > > extern bool > lto_module_is_object_file_in_memory_for_target(const uint8_t* mem, > size_t length, > const char* > target_triplet_prefix); > > extern lto_module_t > lto_module_create_from_memory(const uint8_t* mem, size_t length); Why not void*? Saves casting. > // > // generates code for all added modules into one object file > // On sucess returns a pointer to a generated mach-o buffer and > // length set to...
2008 Feb 25
0
[LLVMdev] new LTO C interface
...e_is_object_file(const char* path); > > > // > // validates if a file is a loadable object file compilable for > requested target > // > extern bool > lto_module_is_object_file_for_target(const char* path, > const char* > target_triplet_prefix); > > > // > // validates if a buffer is a loadable object file > // > extern bool > lto_module_is_object_file_in_memory(const uint8_t* mem, size_t > length); > > > // > // validates if a buffer is a loadable object file compilable for > requested target &...
2008 Feb 26
2
[LLVMdev] new LTO C interface
...;> lto_module_is_object_file_in_memory(const uint8_t* mem, size_t >> length); >> >> extern bool >> lto_module_is_object_file_in_memory_for_target(const uint8_t* mem, >> size_t length, >> const char* >> target_triplet_prefix); >> >> extern lto_module_t >> lto_module_create_from_memory(const uint8_t* mem, size_t length); > > Why not void*? Saves casting. Fixed. >> // >> // generates code for all added modules into one object file >> // On sucess returns a pointer to a generated...