Add more functions
llvm-svn: 9826
diff --git a/llvm/lib/Analysis/IPA/CallGraph.cpp b/llvm/lib/Analysis/IPA/CallGraph.cpp
index 5ee3d3c..200e81f 100644
--- a/llvm/lib/Analysis/IPA/CallGraph.cpp
+++ b/llvm/lib/Analysis/IPA/CallGraph.cpp
@@ -126,6 +126,12 @@
"__strtod_l",
"__strtold_l",
+ // Math functions
+ "exp", "sqrt", "cbrt", "hypot",
+ "log", "log10", "pow",
+ "sin", "cos", "tan",
+ "asin", "acos", "atan", "atan2",
+
// Locale functions
"__uselocale",
"__newlocale",
@@ -143,6 +149,8 @@
// Random stuff
"__assert_fail",
"__errno_location",
+ "clock", "time",
+ "__main",
};