NoQ added a comment.

> for the sake of this proof-of-concept, i've crudely disabled garbage 
> collection on the respective moments of time

Forgot to mention that this breaks tests in `NewDeleteLeaks-PR19102.cpp`, which 
are still failing in the present revision. Leak warnings get delayed to much 
later lines of code here. This example shows that this liveness hack may delay 
garbage collection indefinitely.


https://reviews.llvm.org/D40560



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to