[PATCH] D68427: [scudo][standalone] Make malloc_info return a minimal XML
    Matt Morehouse via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Oct  3 15:24:24 PDT 2019
    
    
  
morehouse accepted this revision.
morehouse added inline comments.
This revision is now accepted and ready to land.
================
Comment at: lib/scudo/standalone/tests/wrappers_c_test.cpp:294
+  EXPECT_EQ(strncmp(Buffer, "<malloc version=\"scudo-", 23), 0);
+  fclose(F);
+}
----------------
Nit: If we move `fclose` to before the `strncmp`, we don't need to `fflush`.
Repository:
  rCRT Compiler Runtime
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68427/new/
https://reviews.llvm.org/D68427
    
    
More information about the llvm-commits
mailing list