<p dir="ltr"><br>
On Mar 2, 2013 3:18 AM, "reed kotler" <<a href="mailto:rkotler@mips.com">rkotler@mips.com</a>> wrote:<br>
><br>
> Does LLVM try and make sure that all memory is freed before compiler exit?<br>
><br>
> For example, It seems like the ARM constant pool code that I'm reading will leave a lot of un-deallocated memory.<br>
><br>
> Maybe I'm missing something here.<br>
Is it that necessary to have the compiler free everything?<br>
 It usually makes sense to ensure all the allocated memory is still reachable (i.e. there are no uncontrollable leaks), but if there are pointers to that memory it should be fine to leave that memory unfreed to speed up the process shutdown.<br>

> Reed<br>
><br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</p>