aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/IPA/CallGraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/IPA/CallGraph.cpp')
-rw-r--r--lib/Analysis/IPA/CallGraph.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Analysis/IPA/CallGraph.cpp b/lib/Analysis/IPA/CallGraph.cpp
index 200e81fa26..8d44242050 100644
--- a/lib/Analysis/IPA/CallGraph.cpp
+++ b/lib/Analysis/IPA/CallGraph.cpp
@@ -66,9 +66,8 @@ static const char * const KnownExternalFunctions[] = {
"ioctl",
// Low-level stdc library functions
- "abort",
- "getenv",
- "putenv",
+ "abort", "exit",
+ "getenv", "putenv",
// Standard IO functions
"printf",
@@ -115,6 +114,7 @@ static const char * const KnownExternalFunctions[] = {
"strncpy",
"strncmp",
"strcmp",
+ "strtok",
"__strcoll_l",
"__strxfrm_l",
"__strftime_l",
@@ -125,6 +125,7 @@ static const char * const KnownExternalFunctions[] = {
"__strtof_l",
"__strtod_l",
"__strtold_l",
+ "isalpha",
// Math functions
"exp", "sqrt", "cbrt", "hypot",