1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/lib
Torok Edwin 097a206969 Free the constants that have no uses in ~LLVMContext.
This fixes leaks from LLVMContext in multithreaded apps.
Since constants are only deleted if they have no uses, it is safe to not delete
a Module on shutdown, as many single-threaded tools do.
Multithreaded apps should however delete the Module before destroying the
Context to ensure that there are no leaks (assuming they use a different context
for each thread).

llvm-svn: 80590
2009-08-31 16:14:59 +00:00
..
Analysis Step #1 to giving Callgraph some sane invariants. The problems with callgraph 2009-08-31 07:23:46 +00:00
Archive Prune #includes from llvm/Linker.h and llvm/System/Path.h, 2009-08-23 22:45:37 +00:00
AsmParser Minor logic simplification. 2009-08-29 23:37:49 +00:00
Bitcode Reapply 79977. 2009-08-28 23:24:31 +00:00
CodeGen PR4747 2009-08-31 01:35:03 +00:00
CompilerDriver convert LoopInfo.h and GraphWriter.h to use raw_ostream 2009-08-23 07:19:13 +00:00
Debugger Prune #includes from llvm/Linker.h and llvm/System/Path.h, 2009-08-23 22:45:37 +00:00
ExecutionEngine Fix OProfile support after r80406 changed the DebugInfo interface from 2009-08-29 00:44:16 +00:00
Linker Prune #includes from llvm/Linker.h and llvm/System/Path.h, 2009-08-23 22:45:37 +00:00
MC llvm-mc: Pass values to MCStreamer as MCExprs, not MCValues. 2009-08-31 08:09:28 +00:00
Support Fix some possible-use-of-uninitialized warnings. 2009-08-30 21:13:58 +00:00
System Fix ExplicitSymbols leak. 2009-08-31 16:12:29 +00:00
Target Normalize makefile comments and sort cmake file lists. 2009-08-31 13:05:24 +00:00
Transforms fix some cases where instcombine would change hte IR but not return true 2009-08-31 06:57:37 +00:00
VMCore Free the constants that have no uses in ~LLVMContext. 2009-08-31 16:14:59 +00:00
Makefile