Is -fstack-protector supported?

Hi all,

Running "clang --help | grep stack-protector" suggests that clang does support -fstack-protector, but I find no mention of it here:


Is the flag supported and ignored for gcc compatibility, or does it work and is just not documented in the manual?

Assuming it is supported, does it catch anything that address sanitizer doesn't?



I don’t know anything specifically about the flag, but it is listed in the full command line option documentation here