[PATCH] D19483: docs: Update SafeStack docs with separate-stack-seg feature and various USP storage modes
Peter Collingbourne via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 30 16:02:51 PDT 2016
pcc added a comment.
> It appears that Clang already supports an -mthread_model=single option, so do you recommend that I remove the -mllvm -safe-stack-usp-storage=single-thread option and rely on -mthread_model instead?
Makes sense to me. We're free to break `-mllvm` flags, they are for development/debugging purposes only.
Of course, the global variable USP requires runtime support (which I assume Contiki provides), so we can probably gate this on OS + thread model.
> I don't see any existing option that seems suitable for indicating that a file may be used during dynamic linker or C library initialization, so perhaps we should add an -mruntime-init flag?
Yes, I'm not sure about the name but we should do something like this.
http://reviews.llvm.org/D19483
More information about the cfe-commits
mailing list