Skip to content
  • Greg Clayton's avatar
    Added the ability to remove orphaned module shared pointers from a ModuleList. · aa149cbd
    Greg Clayton authored
    This is helping us track down some extra references to ModuleSP objects that
    are causing things to get kept around for too long. 
    
    Added a module pointer accessor to target and change a lot of code to use 
    it where it would be more efficient.
    
    "taret delete" can now specify "--clean=1" which will cleanup the global module
    list for any orphaned module in the shared module cache which can save memory
    and also help track down module reference leaks like we have now.
    
    llvm-svn: 137294
    aa149cbd
Loading