[llvm] r214519 - Remove lto_codegen_set_attr.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Aug 1 08:07:24 PDT 2014


Bill, please pull this into the 3.5 realease (or let me know if I should do it).

Thanks.

On 1 August 2014 10:57, Rafael Espindola <rafael.espindola at gmail.com> wrote:
> Author: rafael
> Date: Fri Aug  1 09:57:05 2014
> New Revision: 214519
>
> URL: http://llvm.org/viewvc/llvm-project?rev=214519&view=rev
> Log:
> Remove lto_codegen_set_attr.
>
> It was never exported, so no functionality change.
>
> Modified:
>     llvm/trunk/include/llvm-c/lto.h
>     llvm/trunk/tools/lto/lto.cpp
>
> Modified: llvm/trunk/include/llvm-c/lto.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/lto.h?rev=214519&r1=214518&r2=214519&view=diff
> ==============================================================================
> --- llvm/trunk/include/llvm-c/lto.h (original)
> +++ llvm/trunk/include/llvm-c/lto.h Fri Aug  1 09:57:05 2014
> @@ -40,7 +40,7 @@ typedef bool lto_bool_t;
>   * @{
>   */
>
> -#define LTO_API_VERSION 11
> +#define LTO_API_VERSION 10
>
>  /**
>   * \since prior to LTO_API_VERSION=3
> @@ -375,14 +375,6 @@ lto_codegen_set_pic_model(lto_code_gen_t
>  extern void
>  lto_codegen_set_cpu(lto_code_gen_t cg, const char *cpu);
>
> -/**
> - * Sets attributes for the cpu to generate code for.
> - *
> - * \since LTO_API_VERSION=11
> - */
> -extern void
> -lto_codegen_set_attr(lto_code_gen_t cg, const char *attr);
> -
>
>  /**
>   * Sets the location of the assembler tool to run. If not set, libLTO
>
> Modified: llvm/trunk/tools/lto/lto.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/lto.cpp?rev=214519&r1=214518&r2=214519&view=diff
> ==============================================================================
> --- llvm/trunk/tools/lto/lto.cpp (original)
> +++ llvm/trunk/tools/lto/lto.cpp Fri Aug  1 09:57:05 2014
> @@ -222,10 +222,6 @@ void lto_codegen_set_cpu(lto_code_gen_t
>    return unwrap(cg)->setCpu(cpu);
>  }
>
> -void lto_codegen_set_attr(lto_code_gen_t cg, const char *attr) {
> -  return unwrap(cg)->setAttr(attr);
> -}
> -
>  void lto_codegen_set_assembler_path(lto_code_gen_t cg, const char *path) {
>    // In here only for backwards compatibility. We use MC now.
>  }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list