Ignore some common varargs functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2973 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-07-19 18:11:43 +00:00
parent 1eeefa268d
commit 9eee58d0ba

View File

@ -166,6 +166,12 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
//
MergeGlobalNodes(Graph->getValueMap(), OldValMap);
// Erase the entry in the globals vector
Globals.erase(Globals.begin()+g--);
} else if (FI.getName() == "printf" || FI.getName() == "sscanf" ||
FI.getName() == "fprintf" || FI.getName() == "open" ||
FI.getName() == "sprintf") {
// Erase the entry in the globals vector
Globals.erase(Globals.begin()+g--);
}