projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67ce57a
)
None of the __llvm_* functions call into the program. This makes the
author
Chris Lattner
<sabre@nondot.org>
Sun, 9 Nov 2003 04:00:59 +0000
(
04:00
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 9 Nov 2003 04:00:59 +0000
(
04:00
+0000)
callgraph MUCH simpler for eh using program.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9825
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/IPA/CallGraph.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/IPA/CallGraph.cpp
b/lib/Analysis/IPA/CallGraph.cpp
index 7c0deddc3a16aba9b80089969daab18e3adfe74d..5ee3d3cfa93523cd673526c5685d8db6498891e8 100644
(file)
--- a/
lib/Analysis/IPA/CallGraph.cpp
+++ b/
lib/Analysis/IPA/CallGraph.cpp
@@
-165,6
+165,9
@@
static bool ExternalFunctionDoesntCallIntoProgram(const std::string &Name) {
std::sort(Funcs.begin(), Funcs.end());
}
+ if (Name.size() > 7 && !memcmp("__llvm_", Name.c_str(), 7))
+ return true;
+
// Binary search for the function name...
std::vector<std::string>::iterator I =
std::lower_bound(Funcs.begin(), Funcs.end(), Name);