[llvm] r234159 - Don't use -ffunction-sections -fdata-sections on debug builds.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Apr 6 08:33:09 PDT 2015


> On Mon, Apr 6, 2015 at 8:09 AM, Rafael EspĂ­ndola
> <rafael.espindola at gmail.com> wrote:
>>
>> No problem. Thanks for noticing.
>>
>> I also disabled the linker optimizations, so Debug builds should be a
>> bit faster too.
>
>
> Yeah, saw that - what sort of optimizations does the linker do with that
> anyway? (I assume not enough to recoup the 3 seconds on one or two
> executions of the program, at least)

Tail merging of strings is the main one I think.

Cheers,
Rafael




More information about the llvm-commits mailing list