[compiler-rt] [compiler-rt][rtsan] intercept fflush. (PR #121643)

David CARLIER via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 4 06:34:10 PST 2025


================
@@ -292,6 +292,11 @@ INTERCEPTOR(int, fputs, const char *s, FILE *stream) {
   return REAL(fputs)(s, stream);
 }
 
+INTERCEPTOR(int, fflush, FILE *stream) {
----------------
devnexen wrote:

did not think of it sure I would need to switch to my m3 to try it.

https://github.com/llvm/llvm-project/pull/121643


More information about the llvm-commits mailing list