mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Really, only if reopen
llvm-svn: 12080
This commit is contained in:
parent
ed813111c2
commit
833646d6b8
@ -581,7 +581,8 @@ void GraphBuilder::visitCallSite(CallSite CS) {
|
||||
|
||||
// If this is freopen, merge the file descriptor passed in with the
|
||||
// result.
|
||||
Result.mergeWith(getValueDest(**--CS.arg_end()));
|
||||
if (F->getName() == "freopen")
|
||||
Result.mergeWith(getValueDest(**--CS.arg_end()));
|
||||
|
||||
return;
|
||||
} else if (F->getName() == "fclose" && CS.arg_end()-CS.arg_begin() ==1){
|
||||
|
Loading…
Reference in New Issue
Block a user