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

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Aug 13 14:41:56 PDT 2012


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.

> ~Aaron

Cheers,
Rafael



More information about the llvm-commits mailing list