1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Add functions to the ban list

llvm-svn: 5450
This commit is contained in:
Chris Lattner 2003-01-31 23:57:10 +00:00
parent 24fa7a9a85
commit 390dc95c05

View File

@ -33,7 +33,8 @@ static inline bool isCompleteNode(DSNode *N) {
GlobalValue &FI = cast<Function>(*Callees[i]);
if (FI.getName() != "printf" && FI.getName() != "sscanf" &&
FI.getName() != "fprintf" && FI.getName() != "open" &&
FI.getName() != "sprintf" && FI.getName() != "fputs")
FI.getName() != "sprintf" && FI.getName() != "fputs" &&
FI.getName() != "fscanf")
return false; // External function found...
}
return true; // otherwise ok