[LLVMdev] detailed comparison of generated code size for LLVM and other compilers
John Regehr
regehr at cs.utah.edu
Mon Dec 14 12:23:39 PST 2009
>> 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.
Thanks for the feedback,
John
More information about the llvm-dev
mailing list