aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/TargetLibraryInfo.cpp
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-07-24 17:25:06 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-07-24 17:25:06 +0000
commit0841e63ede092283d824843a068df3f7b0b90dd8 (patch)
treea5061b47dc9646fb72bfdc4d811d27db2a7dc44f /lib/Target/TargetLibraryInfo.cpp
parent9827c8e1c96950d17a4dbb7ef9d9036501c40c1b (diff)
TargetLibraryInfo: add strn?cat, strn?cpy, and strn?len
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160678 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetLibraryInfo.cpp')
-rw-r--r--lib/Target/TargetLibraryInfo.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/TargetLibraryInfo.cpp b/lib/Target/TargetLibraryInfo.cpp
index ec95ad4dee..898c0e7b8f 100644
--- a/lib/Target/TargetLibraryInfo.cpp
+++ b/lib/Target/TargetLibraryInfo.cpp
@@ -108,6 +108,12 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] =
"sqrt",
"sqrtl",
"sqrtf",
+ "strcat",
+ "strcpy",
+ "strlen",
+ "strncat",
+ "strncpy",
+ "strnlen",
"tan",
"tanl",
"tanf",