Closed Trass3r closed 8 years ago
How do you define direct and indirect leaks?
Well if A owns a n instance of B (say unique_ptr) and A is leaked B will also indirectly be.
I don't know how exactly they define/implement it though. https://github.com/llvm-mirror/compiler-rt/search?q=kIndirectlyLeaked
No, it can't distinguish that leaks. We monitor only allocation, LeakSanitizer/Valgrind monitor all memory
Does/could vld distinguish between direct and indirect leaks like LeakSanitizer does?