missed 2 nofrees in prev commit
MODIFY
llvm_util/known_fns.cpp
llvm_util/known_fns.cpp
@@ -195,6 +195,7 @@ known_call(llvm::CallInst &i, const llvm::TargetLibraryInfo &TLI,
attrs.set(FnAttrs::NoThrow);
attrs.set(FnAttrs::ArgMemOnly);
attrs.set(FnAttrs::NoWrite);
+ attrs.set(FnAttrs::NoFree);
RETURN_KNOWN_ATTRS();
case llvm::LibFunc_fopen:
@@ -338,6 +339,7 @@ known_call(llvm::CallInst &i, const llvm::TargetLibraryInfo &TLI,
ret_and_args_no_undef();
attrs.set(FnAttrs::NoThrow);
attrs.set(FnAttrs::NoWrite);
+ attrs.set(FnAttrs::NoFree);
set_param(0, ParamAttrs::NoCapture);
RETURN_KNOWN_ATTRS();

missed 2 nofrees in prev commit