gcc supports the "--param ssp-buffer-size=1" argument, but it seems that clang doesn't recognize it (yet). Are there plans to add this functionality, or is there something preventing it from being added?
It would be nice to see this bug implemented. It causes almost 100 failures in the rebuild of Debian with clang : http://clang.debian.net/status.php?version=3.1&key=UNUSED_ARG
This seems to correspond to LLVM's -stack-protector-buffer-size, so it's just a matter of wiring it up.
Created attachment 9081 [details] clang patch
Created attachment 9082 [details] llvm patch
Attached patches. Still need llvm codegen test case. (Offers welcome :)
The LLVM patch looks good to me.
This should be resolved with r162284/162285.
Thanks Chad!
Can we also make clang accept and ignore this argument when linking but not compiling (bug 15327)?