[llvm-commits] [llvm] r161446 - /llvm/trunk/lib/CodeGen/StackProtector.cpp

Aaron Ballman aaron at aaronballman.com
Mon Aug 13 15:18:05 PDT 2012


On Mon, Aug 13, 2012 at 5:41 PM, Rafael EspĂ­ndola
<rafael.espindola at gmail.com> wrote:
> On 13 August 2012 17:29, Aaron Ballman <aaron at aaronballman.com> wrote:
>> I'd like to ping this thread to see if we can get an consensus or not.
>>  I'm proposing we allow this feature to be controlled by a flag that's
>> turned on by default for debug builds, even if it's not on Darwin.
>
> Probably depends on what you mean by "debug builds".  The code
> generated by the compiler should not depend on
>
> * The compiler itself being a debug build or not
> * The -g flag
>
> I am almost sure it is OK to have a -ffull-stack-protector flag. It
> might also make sense for -O0 -fstack-protector to default to it.

I was talking about -O0.  :-)

~Aaron




More information about the llvm-commits mailing list