[llvm-dev] Why are the sanitizer compiled with -fno-stack-protector ?

Tom Stellard via llvm-dev llvm-dev at lists.llvm.org
Fri Nov 19 16:20:51 PST 2021


Hi,

According to https://github.com/llvm/llvm-project/commit/5829a98c48cf9009e4887e89e3075b3058909e8e
the sanitizers are compiled with -fno-stack-protector to avoid introducing a libc dependency.
Is this still necessary?  Are there any other reasons why sanitizers cannot be compiled with
stack protector enabled?

-Tom



More information about the llvm-dev mailing list