[llvm-commits] [gcc-plugin] r82550 - /gcc-plugin/trunk/TODO

Duncan Sands baldrick at free.fr
Tue Sep 22 10:46:48 CDT 2009

Author: baldrick
Date: Tue Sep 22 10:46:48 2009
New Revision: 82550

URL: http://llvm.org/viewvc/llvm-project?rev=82550&view=rev
This has been done: we now garbage collect GCC memory
if it seems useful to do so.


Modified: gcc-plugin/trunk/TODO
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/TODO?rev=82550&r1=82549&r2=82550&view=diff

--- gcc-plugin/trunk/TODO (original)
+++ gcc-plugin/trunk/TODO Tue Sep 22 10:46:48 2009
@@ -32,22 +32,6 @@
 LLVM/gcc it depends on changes.
-Memory management
-After we codegen them, GCC functions will be garbage collected if the garbage
-collector runs.  However the garbage collector is only run if lots of memory
-was allocated since the last run.  GCC doesn't know how much memory LLVM is
-allocating, so we may be allocating vast amounts of LLVM memory converting
-gimple into LLVM IR, but nonetheless the garbage collector won't free up GCC
-memory for us, even though there might be lots of memory to free.  Work out
-some way of teaching the garbage collector about the amount of memory allocated
-by LLVM.
-After recent changes to the lto tree, it looks like functions are no longer
-being garbage collected after they are codegened.  Investigate.

More information about the llvm-commits mailing list