[PATCH] D19853: [safestack] Add -fruntime-init to support invoking functions during runtime init
Michael LeMay via cfe-commits
cfe-commits at lists.llvm.org
Mon May 2 22:27:50 PDT 2016
mlemay-intel created this revision.
mlemay-intel added reviewers: pcc, eugenis.
mlemay-intel added a subscriber: cfe-commits.
SafeStack uses thread-local storage by default in most OSes for the unsafe stack
pointer. For SafeStack to be applied to functions that may be invoked while
initializing the dynamic linker and libc, the functions can be compiled to
support a single-threaded unsafe stack pointer. This flag signals that such code
should be emitted.
http://reviews.llvm.org/D19853
Files:
docs/CommandGuide/clang.rst
include/clang/Basic/LangOptions.def
include/clang/Driver/Options.td
lib/CodeGen/CGDeclCXX.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/runtime-init-attr.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19853.55944.patch
Type: text/x-patch
Size: 4798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160503/ec274b37/attachment-0001.bin>
More information about the cfe-commits
mailing list