llvm.org GIT mirror llvm / 09237b8
Remove lto_codegen_set_attr. It was never exported, so no functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214519 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 5 years ago
2 changed file(s) with 1 addition(s) and 13 deletion(s). Raw diff Collapse all Expand all
3939 * @{
4040 */
4141
42 #define LTO_API_VERSION 11
42 #define LTO_API_VERSION 10
4343
4444 /**
4545 * \since prior to LTO_API_VERSION=3
374374 extern void
375375 lto_codegen_set_cpu(lto_code_gen_t cg, const char *cpu);
376376
377 /**
378 * Sets attributes for the cpu to generate code for.
379 *
380 * \since LTO_API_VERSION=11
381 */
382 extern void
383 lto_codegen_set_attr(lto_code_gen_t cg, const char *attr);
384
385377
386378 /**
387379 * Sets the location of the assembler tool to run. If not set, libLTO
221221 return unwrap(cg)->setCpu(cpu);
222222 }
223223
224 void lto_codegen_set_attr(lto_code_gen_t cg, const char *attr) {
225 return unwrap(cg)->setAttr(attr);
226 }
227
228224 void lto_codegen_set_assembler_path(lto_code_gen_t cg, const char *path) {
229225 // In here only for backwards compatibility. We use MC now.
230226 }