| OLD | NEW |
| 1 /*===-- llvm-c/lto.h - LTO Public C Interface ---------------------*- C -*-===*\ | 1 /*===-- llvm-c/lto.h - LTO Public C Interface ---------------------*- C -*-===*\ |
| 2 |* *| | 2 |* *| |
| 3 |* The LLVM Compiler Infrastructure *| | 3 |* The LLVM Compiler Infrastructure *| |
| 4 |* *| | 4 |* *| |
| 5 |* This file is distributed under the University of Illinois Open Source *| | 5 |* This file is distributed under the University of Illinois Open Source *| |
| 6 |* License. See LICENSE.TXT for details. *| | 6 |* License. See LICENSE.TXT for details. *| |
| 7 |* *| | 7 |* *| |
| 8 |*===----------------------------------------------------------------------===*| | 8 |*===----------------------------------------------------------------------===*| |
| 9 |* *| | 9 |* *| |
| 10 |* This header provides public interface to an abstract link time optimization*| | 10 |* This header provides public interface to an abstract link time optimization*| |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 | 252 |
| 253 | 253 |
| 254 | 254 |
| 255 /** | 255 /** |
| 256 * Add an object module to the set of modules for which code will be generated. | 256 * Add an object module to the set of modules for which code will be generated. |
| 257 * Returns true on error (check lto_get_error_message() for details). | 257 * Returns true on error (check lto_get_error_message() for details). |
| 258 */ | 258 */ |
| 259 extern bool | 259 extern bool |
| 260 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod); | 260 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod); |
| 261 | 261 |
| 262 | 262 /* @LOCALMOD-BEGIN */ |
| 263 extern bool |
| 264 lto_codegen_gather_module(lto_code_gen_t cg, lto_module_t mod); |
| 265 extern bool |
| 266 lto_codegen_link_gathered_modules_and_dispose(lto_code_gen_t cg); |
| 267 /* @LOCALMOD-END*/ |
| 263 | 268 |
| 264 /** | 269 /** |
| 265 * Sets if debug info should be generated. | 270 * Sets if debug info should be generated. |
| 266 * Returns true on error (check lto_get_error_message() for details). | 271 * Returns true on error (check lto_get_error_message() for details). |
| 267 */ | 272 */ |
| 268 extern bool | 273 extern bool |
| 269 lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model); | 274 lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model); |
| 270 | 275 |
| 271 | 276 |
| 272 /** | 277 /** |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 | 396 |
| 392 #ifdef __cplusplus | 397 #ifdef __cplusplus |
| 393 } | 398 } |
| 394 #endif | 399 #endif |
| 395 | 400 |
| 396 /** | 401 /** |
| 397 * @} | 402 * @} |
| 398 */ | 403 */ |
| 399 | 404 |
| 400 #endif | 405 #endif |
| OLD | NEW |