summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Analysis/IPA/CallGraph.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/IPA/CallGraph.cpp b/llvm/lib/Analysis/IPA/CallGraph.cpp
index 200e81fa26c..8d442420500 100644
--- a/llvm/lib/Analysis/IPA/CallGraph.cpp
+++ b/llvm/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",
OpenPOWER on IntegriCloud