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:

<https://clang.llvm.org/docs/UsersManual.html&gt;

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?

Thanks,

Sean

I don’t know anything specifically about the flag, but it is listed in the full command line option documentation here https://clang.llvm.org/docs/ClangCommandLineReference.html