fangyi-zhou wrote:

valgrind result:

```
$ valgrind ./bin/clang -cc1 -analyze -analyzer-checker=apiModeling 
-ftime-trace=test.json ../clang/test/Analysis/ftime-trace-no-init.cpp
==825619== Memcheck, a memory error detector
==825619== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==825619== Using Valgrind-3.25.0 and LibVEX; rerun with -h for copyright info
==825619== Command: ./bin/clang -cc1 -analyze -analyzer-checker=apiModeling 
-ftime-trace=test.json ../clang/test/Analysis/ftime-trace-no-init.cpp
==825619== 
==825619== 
==825619== HEAP SUMMARY:
==825619==     in use at exit: 73,728 bytes in 1 blocks
==825619==   total heap usage: 7,012 allocs, 7,011 frees, 2,733,844 bytes 
allocated
==825619== 
==825619== LEAK SUMMARY:
==825619==    definitely lost: 0 bytes in 0 blocks
==825619==    indirectly lost: 0 bytes in 0 blocks
==825619==      possibly lost: 0 bytes in 0 blocks
==825619==    still reachable: 73,728 bytes in 1 blocks
==825619==         suppressed: 0 bytes in 0 blocks
==825619== Rerun with --leak-check=full to see details of leaked memory
==825619== 
==825619== For lists of detected and suppressed errors, rerun with: -s
==825619== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
```

https://github.com/llvm/llvm-project/pull/139980
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to