[PATCH] D19483: docs: Update SafeStack docs with separate-stack-seg feature and various USP storage modes

Michael LeMay via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 30 14:17:44 PDT 2016


mlemay-intel added a comment.

In http://reviews.llvm.org/D19483#417844, @pcc wrote:

> We shouldn't be adding (much less documenting) `-mllvm` flags. Is there any reason why this behavior can't be gated on the OS?


We actually already have added at least one `-mllvm` flag: `-mllvm -safe-stack-usp-storage=single-thread`.  You can see an example of how it can be used here: https://github.com/contiki-os/contiki/pull/1642/commits/f13d1e22669d5526f2a721a337acd06f23a8d49d  Can you please provide an example of how you think that setting should be specified without the use of the `-mllvm` flag?


http://reviews.llvm.org/D19483





More information about the cfe-commits mailing list