mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
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:
parent
1eeefa268d
commit
9eee58d0ba
@ -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--);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user