diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-08-12 18:45:38 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-08-12 18:45:38 +0000 |
commit | 15b2782ccf141930cc98507a1cb1d501fbfd4000 (patch) | |
tree | a82067a00fd444fd96c633f4b28807170c474439 /include | |
parent | 2a64a639e5f2870a2a898a593fc37a800f977d5e (diff) | |
download | external_llvm-15b2782ccf141930cc98507a1cb1d501fbfd4000.zip external_llvm-15b2782ccf141930cc98507a1cb1d501fbfd4000.tar.gz external_llvm-15b2782ccf141930cc98507a1cb1d501fbfd4000.tar.bz2 |
[stackprotector] Add in the stackprotector libcall.
We support this libcall on all platforms except for OpenBSD (See
lib/Codegen/StackProtector.cpp).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188193 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/RuntimeLibcalls.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/RuntimeLibcalls.h b/include/llvm/CodeGen/RuntimeLibcalls.h index e578b50..14769ec 100644 --- a/include/llvm/CodeGen/RuntimeLibcalls.h +++ b/include/llvm/CodeGen/RuntimeLibcalls.h @@ -354,6 +354,9 @@ namespace RTLIB { SYNC_FETCH_AND_NAND_4, SYNC_FETCH_AND_NAND_8, + // Stack Protector Fail. + STACKPROTECTOR_CHECK_FAIL, + UNKNOWN_LIBCALL }; |