1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

TargetLibraryInfo: add strn?cat, strn?cpy, and strn?len

llvm-svn: 160678
This commit is contained in:
Nuno Lopes 2012-07-24 17:25:06 +00:00
parent 06ac861756
commit aa177bbdbc
2 changed files with 18 additions and 0 deletions

View File

@ -187,6 +187,18 @@ namespace llvm {
sqrtl,
/// float sqrtf(float x);
sqrtf,
/// char *strcat(char *s1, const char *s2);
strcat,
/// char *strcpy(char *s1, const char *s2);
strcpy,
/// size_t strlen(const char *s);
strlen,
/// char *strncat(char *s1, const char *s2, size_t n);
strncat,
/// char *strncpy(char *s1, const char *s2, size_t n);
strncpy,
/// size_t strnlen(const char *s, size_t maxlen);
strnlen,
/// double tan(double x);
tan,
/// long double tanl(long double x);

View File

@ -108,6 +108,12 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] =
"sqrt",
"sqrtl",
"sqrtf",
"strcat",
"strcpy",
"strlen",
"strncat",
"strncpy",
"strnlen",
"tan",
"tanl",
"tanf",