[compiler-rt] r225049 - Avoid building compiler-rt with LTO.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Jan 2 14:34:50 PST 2015


Looks like we already suppress the warning for -flto, we should
probably suppress it too for -fno-lto. I will write a patch and email
cfe-commits.

On 2 January 2015 at 16:52, Chandler Carruth <chandlerc at google.com> wrote:
>
> On Fri, Jan 2, 2015 at 1:44 PM, Alexey Samsonov <vonosmas at gmail.com> wrote:
>>
>> Right, we explicitly set LANGUAGE property to "C" for ASM sources for both
>> tsan and builtins runtimes. IIRC there were problems with CMake ASM build
>> system, that led to .S files dropped from the library if we don't do this.
>
>
> <cries a little>
>
> OK, so maybe use specific target properties to filter -fno-lto? Or to add it
> to the non-.S files? Or some other terribleness I've not thought of?
>
> We should probably have something target property oriented anyways because
> we'd want to filter -flto from the .S files too...
>
> _______________________________________________
> 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