mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
Add fortified (__*_chk) library functions to TLI (NFC)
One of them (__memcpy_chk) was already there, the others were checked by comparing function names. Note that the fortified libfuncs are now part of TLI, but are always available, because they aren't generated, only optimized into the non-checking versions. Differential Revision: http://reviews.llvm.org/D6179 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221817 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -51,6 +51,8 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] =
|
||||
"__isoc99_scanf",
|
||||
"__isoc99_sscanf",
|
||||
"__memcpy_chk",
|
||||
"__memmove_chk",
|
||||
"__memset_chk",
|
||||
"__sincospi_stret",
|
||||
"__sincospif_stret",
|
||||
"__sinpi",
|
||||
@@ -58,7 +60,11 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] =
|
||||
"__sqrt_finite",
|
||||
"__sqrtf_finite",
|
||||
"__sqrtl_finite",
|
||||
"__stpcpy_chk",
|
||||
"__stpncpy_chk",
|
||||
"__strcpy_chk",
|
||||
"__strdup",
|
||||
"__strncpy_chk",
|
||||
"__strndup",
|
||||
"__strtok_r",
|
||||
"abs",
|
||||
|
Reference in New Issue
Block a user