commit | 9eee58d0baf29f6a754842909085265e1794be13 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Jul 19 18:11:43 2002 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Jul 19 18:11:43 2002 +0000 |
tree | 4eaf35b9475238f46aa1143f94295ccb81718600 | |
parent | 1eeefa268d09acd1b3b37783775085d5e9b37575 [diff] [blame] |
Ignore some common varargs functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2973 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/DataStructure/BottomUpClosure.cpp b/lib/Analysis/DataStructure/BottomUpClosure.cpp index 841dd50..d2e8c21 100644 --- a/lib/Analysis/DataStructure/BottomUpClosure.cpp +++ b/lib/Analysis/DataStructure/BottomUpClosure.cpp
@@ -168,6 +168,12 @@ // 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--); } }