[LLVMdev] detailed comparison of generated code size for LLVM and other compilers

Chris Lattner clattner at apple.com
Mon Dec 14 12:37:16 PST 2009


On Dec 14, 2009, at 12:23 PM, John Regehr wrote:

>>> There are probably other differing defaults besides frame  
>>> pointers.  Stack
>>> protectors, perhaps.
>>
>> Yes, that's another good example,
>
> Ok-- I assume I should just add '-fno-stack-protector' to the llvm- 
> gcc and
> clang command lines?  I had totally missed that something like this  
> was
> turned on by default.
>
> I'll re-run everything with this change, with frame pointers  
> omitted, and
> dropping testcases that contain uses of uninititalized locals and post
> here again when that's done.

Sounds great, thanks John!

-Chris




More information about the llvm-dev mailing list